NAME

get_cpu_time_2 - Returns the cpu time in milliseconds

SYNOPSIS

#include "l/l_sys_time.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


long get_cpu_time_2(void);

DESCRIPTION

Returns the cpu time in milliseconds

RETURNS

the cpu time used in milliseconds. This routine differs from get_cpu_time() in that the time at the last reset is not subracted off. Thus this routine is used when computing cpu usage when routines called by the code been measured may reset the base time.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

init_cpu_time , get_cpu_time , display_cpu_time , init_real_time , get_real_time , display_real_time , get_time , get_time_2