Commentary
This commit is contained in:
parent
663a9a3add
commit
155cd9a8d0
|
|
@ -220,15 +220,14 @@ class VlPgoProfiler final {
|
||||||
// Counters are stored packed, all together to reduce cache effects
|
// Counters are stored packed, all together to reduce cache effects
|
||||||
std::array<uint64_t, N_Entries> m_counters{}; // Time spent on this record
|
std::array<uint64_t, N_Entries> m_counters{}; // Time spent on this record
|
||||||
std::vector<Record> m_records; // Record information
|
std::vector<Record> m_records; // Record information
|
||||||
const uint64_t
|
// An original cost of a profiled hier block. During Verilation with
|
||||||
m_currentHierBlockCost; // An original cost of a profiled hier block. During verilation
|
// collected profiling data, costs of hier blocks change thus hashes of
|
||||||
// with collected profiling data, costs of hier blocks change
|
// original mtasks does not match those from the previous,
|
||||||
// thus hashes of original mtasks does not match those from the
|
// instrumented, run. We shall not assume that a single top-level mtask
|
||||||
// previous, instrumented, run. We shall not assume that a single
|
// will correspond to the hier block as multiple hier block DPIs can be
|
||||||
// top-level mtask will correspond to the hier block as multiple
|
// contracted into a single mtask. Therefore, the old cost, from
|
||||||
// hier block DPIs can be contracted into a single mtask.
|
// previous instrumented run, is used to stabilize profiled scheduling.
|
||||||
// Therefore, the old cost, from previous instrumented run, is
|
const uint64_t m_currentHierBlockCost;
|
||||||
// used to stabilize profiled scheduling.
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// METHODS
|
// METHODS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue