1a1a11a / libCacheSim

a high performance library for building cache simulators
GNU General Public License v3.0
155 stars 33 forks source link

"obj-id-is-num" parameter doesn't support hex values #70

Closed Helen0721 closed 1 month ago

Helen0721 commented 2 months ago

Inside tracePrint and traceConv.

Example input: time,object,size,next_access_vtime 604038471,82131353f9ddc8c6,87,-1 604038471,a54f88ab02ece24d,0,-1 604038471,a54f88ab02ece24d,0,-1 604038471,a54f88ab02ece24d,0,-1 604038471,a54f88ab02ece24d,0,-1

tracePrint says "object id is not numeric a54f88ab02ece24d"

1a1a11a commented 1 month ago

In libCacheSim, obj-id-is-num supports hex value, however, it recognizes the value if it starts with 0x. It is non-trivial to support hex value if it does not start with 0x. Will not support this.