I guess I really dislike questions without an answer. Don't know if you've solved this
on your own
. I've tested Win32::Perflib without any luck on Win2k so I dicided
to play around with Win32::API. I fired up VIM and came up with
code just for you.
It uses Win32::API and works well on my Win2k box.
Have fun...