Re: Get system time
From: Bob Hauck (postmaster_at_localhost.localdomain)
Date: 08/11/05
- Next message: John Owens: "Developing for Linux Shell Using Windows"
- Previous message: Robert Redelmeier: "Re: huge bss segment and sbrk failure with rhel 32bit hugemem"
- In reply to: Juanan: "Get system time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Aug 2005 11:31:44 -0400
On Thu, 11 Aug 2005 14:40:51 GMT, Juanan <jgimenez@siam.es> wrote:
> I want to program a function like the Gettickcount of Windows, that return
> the miliseconds from the start of the system for control timers in my soft.
#include <time.h>
struct timespec tp;
clock_gettime (CLOCK_MONOTONIC, &tp)
-- -| Bob Hauck -| A proud member of the reality-based community. -| http://www.haucks.org/
- Next message: John Owens: "Developing for Linux Shell Using Windows"
- Previous message: Robert Redelmeier: "Re: huge bss segment and sbrk failure with rhel 32bit hugemem"
- In reply to: Juanan: "Get system time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|