File: timing.h

package info (click to toggle)
pacman 10-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 664 kB
  • ctags: 1,108
  • sloc: cpp: 3,333; makefile: 502; sh: 96
file content (26 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __timing_h_
#define __timing_h_

#include "systspec.h"

void printtp(struct timeval);	//write a such struct

#ifdef UNIX                                                                   
void printtms(struct tms);	//write a tms
double difftime(struct timeval,struct timeval);	//difference between two times

#elif defined MSWIN
double difftime(DWORD , DWORD);	//difference between two times
#endif

void timingstart(void);		//initialize timing

void timing(int);		//do timing/synchronization
    
#endif