How to obtain system time

From: Elisabete Reis (elreis@dei.uc.pt)
Date: Tue Oct 17 2000 - 16:08:09 EST


Hi,

I need to measure the time that a packet is queued, so I´m interested in
getting the system time at the entry and the output of the queue.

My questions are the following:

Does the macro PSCHED_GET_TIME return the system time in usec or in jiffies?
I´m using a i586 processor, thus I assumed PSCHED_SOURCE (definided in
net/pkt_sched.h) as PSCHED_CPU. Is this the best option?

Thanks in advance

Elisabete Reis

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:11 EST