Update for #1237
Created by: TulikaSi
Since the performance counters are implemented as an optional feature, this commit takes into consideration the case when the performance counters are disabled i.e in that case the output data from the performance counter module should read as 0 (which was reading as X's previously #1237 (closed))