GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
Statistics.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_EXECUTION_STATISTICS_HPP
5#define GREM_EXECUTION_STATISTICS_HPP
6
8
12
13namespace grem::execution {
14
18struct Statistics {
19#ifdef _MSC_VER
20#pragma warning(push)
21#pragma warning(disable : 4324)
22#endif
40#ifdef _MSC_VER
41#pragma warning(pop)
42#endif
43
47};
48
49} // namespace grem::execution
50
51#endif
Definition Buffer.hpp:28
Definition Chunk.hpp:19
Clock::time_point TimePoint
Definition Clock.hpp:26
Statistics produced by a distinct task.
Definition Statistics.hpp:30
TimePoint startTime
Time when execution of the task started.
Definition Statistics.hpp:32
size_t taskIndex
Index of the task in the topologically ordered task list of the task graph.
Definition Statistics.hpp:31
TimePoint endTime
Time when execution of the task ended.
Definition Statistics.hpp:33
Statistics produced by a distinct worker thread.
Definition Statistics.hpp:26
Buffer< Task > tasks
Sub-statistics of each distinct task that was executed.
Definition Statistics.hpp:38
TimePoint endTime
Time when execution of the full task graph ended on this worker thread.
Definition Statistics.hpp:37
TimePoint startTime
Time when execution of the full task graph started on this worker thread.
Definition Statistics.hpp:36
Performance statistics produced by an Executor invocation.
Definition Statistics.hpp:18
Buffer< Worker > workers
Sub-statistics of each distinct worker thread.
Definition Statistics.hpp:46
TimePoint endTime
Time when execution of the full task graph ended.
Definition Statistics.hpp:45
TimePoint startTime
Time when execution of the full task graph started.
Definition Statistics.hpp:44