CMU-SAFARI / DAMOV

DAMOV is a benchmark suite and a methodical framework targeting the study of data movement bottlenecks in modern applications. It is intended to study new architectures, such as near-data processing. Described by Oliveira et al. (preliminary version at https://arxiv.org/pdf/2105.03725.pdf)
Other
76 stars 18 forks source link

Help in enabling logger #8

Closed abhishekk06 closed 2 years ago

abhishekk06 commented 2 years ago

Hi,

Can someone explain how to enable debug logger? I did uncomment the following line in Sconstruct but I still don't see cache debug prints. :/

env["CPPFLAGS"] += " -D_LOGTRACE=1"

abhishekk06 commented 2 years ago

In src/log.h:156

-    if ( LOG_##type == LOG_Sched) { \
+    if ( LOG_##type == LOG_Cache) { \

We have to also modify the filter as per our needs by changing the line given above. I wish it can be done run-time or there should be a filter like LOG_ALL.