Profiler - Fix eval fields
The 'value' pointer was being written to a lot and then used for reading within the same function. This likely caused issues all over RDC when reading the metrics. This commit changes it so *value is written to only once. Change-Id: I83c158c1e46c6ce46ff87d8a2e769f26ffa8c0da Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
gecommit door
Galantsev, Dmitrii
bovenliggende
24024f0e4f
commit
91be467cad
@@ -77,8 +77,10 @@ class RdcRocpBase {
|
||||
|
||||
// these fields must be divided by time passed
|
||||
std::unordered_set<rdc_field_t> eval_fields = {
|
||||
RDC_FI_PROF_EVAL_MEM_R_BW, RDC_FI_PROF_EVAL_MEM_W_BW, RDC_FI_PROF_EVAL_FLOPS_16,
|
||||
RDC_FI_PROF_EVAL_FLOPS_32, RDC_FI_PROF_EVAL_FLOPS_64,
|
||||
RDC_FI_PROF_EVAL_MEM_R_BW, RDC_FI_PROF_EVAL_MEM_W_BW,
|
||||
RDC_FI_PROF_EVAL_FLOPS_16, RDC_FI_PROF_EVAL_FLOPS_32,
|
||||
RDC_FI_PROF_EVAL_FLOPS_64, RDC_FI_PROF_EVAL_FLOPS_16_PERCENT,
|
||||
RDC_FI_PROF_EVAL_FLOPS_32_PERCENT, RDC_FI_PROF_EVAL_FLOPS_64_PERCENT,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Verwijs in nieuw issue
Block a user