Hi guys,
I am trying to use the PowerTOSSIM and I have added the counter.ml into CIL
features and use it to add the execution counters into each basic block.
However, there is still a problem left. In the instrumented source code,
the global variable which is used to record the execution times is
generated by CIL as:
int bb_count[10000][0] ;
In my opinion, the second dimension of this array should be the number of
blocks rather than be 0. Is there anyone who is familiar with counter.ml in
PowerTOSSIM and can help me find out if the counter.ml was written
correctly? You can find the counter.ml in the following directory:
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-1.x/tools/scripts/PowerTOSSIM/<https://sn2prd0202.outlook.com/owa/redir.aspx?C=6ScciD9sLUu2-vEJv55nRUvcNTy8CM8IimJfb1T1Vu8NtbKkaOGTAercKuNwb81wFXFzemMDt4I.&URL=http%3a%2f%2ftinyos.cvs.sourceforge.net%2fviewvc%2ftinyos%2ftinyos-1.x%2ftools%2fscripts%2fPowerTOSSIM%2f>
Thanks.
Lipeng
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users