Commit 3bac9ae4 authored by Cedric Roux's avatar Cedric Roux

T: update trace for exmimo2 case

the trace ENB_MASTER_TICK did not work properly in the GUI of
the enb tracer.

Maybe use proc->subframe_tx (or _rx) instead of this proposed
solution, maybe more elegant?
parent 86e32609
...@@ -2264,7 +2264,12 @@ if (pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset)) abort(); ...@@ -2264,7 +2264,12 @@ if (pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset)) abort();
#endif #endif
/* TODO: is it the right place for master tick? */ /* TODO: is it the right place for master tick? */
T(T_ENB_MASTER_TICK, T_INT(frame % 1024), T_INT(sf)); #ifdef EXMIMO
T(T_ENB_MASTER_TICK, T_INT(0), T_INT(frame % 1024), T_INT((sf+9)%10));
#else
T(T_ENB_MASTER_TICK, T_INT(0), T_INT(frame % 1024), T_INT(sf));
#endif
#if 0 #if 0
if (frame>50) { if (frame>50) {
for (int CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) { for (int CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment