| 614 | } |
| 615 | |
| 616 | void TutorialApplication::initRayStats() |
| 617 | { |
| 618 | if (!g_stats) |
| 619 | g_stats = (RayStats*)alignedMalloc(TaskScheduler::threadCount() * sizeof(RayStats), 64); |
| 620 | |
| 621 | for (size_t i = 0; i < TaskScheduler::threadCount(); i++) |
| 622 | g_stats[i].numRays = 0; |
| 623 | } |
| 624 | |
| 625 | int64_t TutorialApplication::getNumRays() |
| 626 | { |
no test coverage detected