fine-grain timing benchmark for prism2 chip and firmware
phongsak
php5
Wed Feb 26 16:45:04 PST 2003
Good day everyone
Sorry if this is out of topic here.
I am experimenting with prism2 Linksys card to figure out how well the
firmware in the card/chip performs in chip instruction set or chip
cycle. For example, I'd like to know how many "chip cycles" or how fast
is used to transmit or to receive a packet.
void main() {
...
start_ticks = hostap_get_prism2_chip_cycles();
send(packet);
stop_ticks = hostap_get_prism2_chip_cycles();
...
}
I need some kind of counter to measure fine-grain tick in the chip or
firmware. Is there anyway to query firmware/chipset for this sort of
data?
I can do 'rdtsc' instruction set for Intel x86 chip to get CPU cycle
timestamp counter. Can I use any interface or instruction or iwpriv to
get this from prism2 chip? Or this is really stupid and impossible.
Thanks for any suggestion/comment in advance.
--Phongsak
More information about the Hostap
mailing list