PandA-2024.02
Macros | Functions
get_ticks.c File Reference
#include "get_ticks.h"
#include <sys/times.h>
#include <unistd.h>
Include dependency graph for get_ticks.c:

Go to the source code of this file.

Macros

#define TIMES_TICKS_PER_SEC   60
 

Functions

unsigned int get_ticks (unsigned char restart_value)
 return an unsigned int which represents the elapsed processor time in milliseconds since some constant reference More...
 

Macro Definition Documentation

◆ TIMES_TICKS_PER_SEC

#define TIMES_TICKS_PER_SEC   60

Definition at line 12 of file get_ticks.c.

Referenced by get_ticks().

Function Documentation

◆ get_ticks()

unsigned int get_ticks ( unsigned char  restart_value)

return an unsigned int which represents the elapsed processor time in milliseconds since some constant reference

Definition at line 19 of file get_ticks.c.

Referenced by game_initialization(), and game_main_loop().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:06 for PandA-2024.02 by doxygen 1.8.13