How to obtain system time

2000-10-17 Thread Elisabete Reis

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



How to obtain system time

2000-10-17 Thread Elisabete Reis

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/