Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC double csoundGetCPUTime ( RTCLOCK *  p  ) 

Return the elapsed CPU time (in seconds) since the specified timer structure was initialised.

return the elapsed CPU time (in seconds) since the specified timer structure was initialised

Definition at line 2711 of file csound.c.

  {
      return ((double) ((uint32_t) get_CPU_time() - (uint32_t) p->starttime_CPU)
              * (1.0 / (double) CLOCKS_PER_SEC));
  }


Generated by  Doxygen 1.6.0   Back to index