示例#1
0
    void call_func( )
    {
        timer.Start( timer_id );

        xCoo2Csr_Function( true );

        timer.Stop( timer_id );
    }
示例#2
0
    void call_func( )
    {
      if( gpuTimer && cpuTimer )
      {
        gpuTimer->Start( gpuTimerID );
        cpuTimer->Start( cpuTimerID );

        xCoo2Csr_Function( false );

        cpuTimer->Stop( cpuTimerID );
        gpuTimer->Stop( gpuTimerID );
      }
      else
      {
        xCoo2Csr_Function( false );
      }
    }