Re: memory and cpu usage measurements

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello hape,

Use PerformanceCounter class for this http://msdn2.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx

h> i am looking for a way to get measurements for cpu and memory usage
h> for
h> .net programs.
h> The measurements have to be taken programmatically (monitoring).
h> Thats
h> why i cannot use tools like vadump a.s.o.
h> Any Suggestions appreciated.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.



Relevant Pages

  • memory and cpu usage measurements
    ... ..net programs. ... The measurements have to be taken programmatically (monitoring). ... Thats ...
    (microsoft.public.dotnet.general)
  • Some initial postmark numbers from a dual-PIII+ATA, 4.x and 6.x
    ... I pulled down the postmark benchmark, and gave it a spin on a dual PIII ... the "alone" measurements, associated with the setup and tear-down of the ... While I didn't attempt to measure precise CPU usage as yet, ...
    (freebsd-performance)
  • Re: F# performance benchmarks
    ... measurements in it and their context ... each CPU is reported as: ... ocamlopt -inline 10 ... fsc -O3 ...
    (comp.lang.functional)
  • Re: what are sparc,mips?
    ... > through a CPU core, and it usually causes the magic smoke to escape. ... > MIPS is an acronym for Meaningless Indicator of Processor Speed. ... > MIPS CPU. ... Because of the problems you obliquely refer to with the older measurements ...
    (comp.unix.solaris)
  • Some power data
    ... Some power measurements on this PC, ... scale ... The I/O load is a pair of .BAT files, each continuously copying a 1GB file ... but only 1-2% of the CPU cycles and very little I/O. ...
    (microsoft.public.windowsxp.hardware)