RE: How to get tick count on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Suneel,

 

In linux jiffies gives the clock ticks. This value is depends on the HZ value defined in the linux/sched.h file.

 

The do_gettimeofday() will gives the values in structure variable of type timeval structure which contains the two variables called seconds and micro seconds. Structure timeval is included in the linux/time.h file.

 

Regards,

Srinivas G

 

-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Suneel Kandru
Sent:
Monday, March 07, 2005 12:08 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: How to get tick count on linux

 

what is the windows GetTickCount()  equal function linux

 

Thank you

JPEG image


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux