17#define TICKS_YEAR (TICKS_DAY * ((uint64_)365))
18#define TICKS_MONTH (TICKS_DAY * ((uint64_)30))
19#define TICKS_WEEK (TICKS_DAY * ((uint64_)7))
20#define TICKS_DAY (TICKS_HOUR * ((uint64_)24))
21#define TICKS_HOUR (TICKS_MINUTE * ((uint64_)60))
22#define TICKS_MINUTE (TICKS_SECOND * ((uint64_)60))
23#define TICKS_SECOND ((uint64_)1000)
25#define SLICES_COUNT (sizeof(ticks_per_slice) / sizeof(ticks_per_slice[0]))
76 if(tick_residual == 0)
99 (
unsigned)prevsliceval,
107 else if(tick_cur != 0)
111 if(prevsliceval != 0)
115 _tprintf(
_T(
"%u %s, "), (
unsigned)prevsliceval, prevsliceunit);
133 print_uptime(tick_residual, prevsliceval, prevsliceunit, curslice + 1);
144 tickcount = - tickcount;
145 else if(tickcount == 0)
DWORD WINAPI GetTickCount(VOID)
GLdouble GLdouble GLdouble r
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP int __cdecl feof(_In_ FILE *_File)
_TCHAR * slice_names_plural[SLICES_COUNT]
_TCHAR * slice_names_singular[SLICES_COUNT]
int parse_print(const _TCHAR *str)
uint64_ ticks_per_slice[]
void print_uptime(uint64_ tickcount, uint64_ prevsliceval, _TCHAR *prevsliceunit, int curslice)