------------------------------------------------------------------------------
| 681 | |
| 682 | //------------------------------------------------------------------------------ |
| 683 | double vtkTimerLog::GetCPUTime() |
| 684 | { |
| 685 | #ifndef _WIN32_WCE |
| 686 | return static_cast<double>(clock()) / static_cast<double>(CLOCKS_PER_SEC); |
| 687 | #else |
| 688 | return 1.0; |
| 689 | #endif |
| 690 | } |
| 691 | |
| 692 | //------------------------------------------------------------------------------ |
| 693 | // Set the StartTime to the current time. Used with GetElapsedTime(). |