Skip to contentSkip to conversation

Instruction count with QEMU

Qemu-devel Marco Boni 2 participants 2 messages Feb 17, 2011

lore
Share & tools
lore

Marco Boni

author
#0 lore raw

Hi all,

I am pretty new to QEMU development. To get involved in this, I have been asked by my supervisor to do a simple modification to QEMU.

We would like to count the number of instructions the virtual machine processes. In other words, it's all about to declare a counter and increment it every time a guest instruction has to be executed.

Can you please give me some hints on how to realize it, i.e. which files I should put my hands on?

Thanks a lot....

m

Signature · 5 lines
Marco Boni

Mobile: +39 335 607 9353
Email: [email protected]
Skype: m.boni
#1 lore raw
Quoted 10 lines · Marco Boni

Hi all,

I am pretty new to QEMU development. To get involved in this, I have been asked by my supervisor to do a simple modification to QEMU.

We would like to count the number of instructions the virtual machine processes. In other words, it's all about to declare a counter and increment it every time a guest instruction has to be executed.

Can you please give me some hints on how to realize it, i.e. which files I should put my hands on?

Thanks a lot....

A guide to help you get started. www.ecs.syr.edu/faculty/yin/Teaching/TC2010/Proj4.pdf

Dushyant