Z
Zd Yu
I use eval() to dynamically calculate performance metrics.
for example:
I have one configuration file that defines many performance metric
formulas, like IPC=instructions/cpu_cycles.
I also have another data file that contains many data samples, and I
just call the eval() for every data sample.
The problem is that I found eval() is really slow. is there a way to
make it faster?
for example:
I have one configuration file that defines many performance metric
formulas, like IPC=instructions/cpu_cycles.
I also have another data file that contains many data samples, and I
just call the eval() for every data sample.
The problem is that I found eval() is really slow. is there a way to
make it faster?