File: c_timer.h

package info (click to toggle)
aces3 3.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 82,460 kB
  • sloc: fortran: 225,647; ansic: 20,413; cpp: 4,349; makefile: 953; sh: 137
file content (17 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

/*-------------------------------------------------------------------------
 
   Function prototypes for the c interface of the Fortran-based timer 
   subsystem.

---------------------------------------------------------------------------*/

#define CPU_TIMER 1
#define ELAPSED_TIME_TIMER 2
#define SYSTEM_TIME_TIMER 3

int  c_register_timer(char *desc, int type);   /* Creates a timer with description */
void c_update_timer(int key);  /*  Updates a timer from the last start point */
void c_timer_start(int key);   /* Starts a timer */