Blog Posts

Recent posts

Windows 7 memory profiling another example

less than 1 minute read

1 2 3 4 5 6 7 8 9 10 11 12 13 @echo off set _NT_SYMBOL_PATH=f:\src\Debug\;srv*c:\WebSymbol*http://msdl.microsoft.com/downloads/symbols xperf -on Base+Cswitch...

Windows 7 memory profiling example

less than 1 minute read

@echo off set _NT_SYMBOL_PATH=F:\src\Release\;srv*c:\WebSymbol*http://msdl.microsoft.com/downloads/symbols</p> xperf -on base xperf -start heapsession...

Windows 7 CPU performance profiling example

less than 1 minute read

@echo off set _NT_SYMBOL_PATH=f:\src\Debug\;srv*c:\WebSymbol*http://msdl.microsoft.com/downloads/symbols</p> xperf -on Latency -stackwalk profile echo...

Load a binary file with C++

less than 1 minute read

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 bool LoadBinaryFile(std::wstring const& path, std::vector<unsigned char>& data) { try { std::basic_ifst...