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 -BufferSize 1024 -MinBuffers 512 -MaxBuffers 512 xperf -start HeapSession -heap -Pids %1 -BufferSize 1024 -MinBuffers 512 -MaxBuffers 512 -stackwalk HeapAlloc+HeapRealloc echo. echo Performance Trace started. echo. echo When done with profile actions, pause echo Generating the report. xperf -stop HeapSession -stop -d heapUsage.etl echo. start xperfview heapUsage.etl Share on Twitter Facebook LinkedIn Previous Next
C++ - lvalue, rvalue abbreviations less than 1 minute read lvalue: locatable value(addressable value) xvalue: expiring value glvalue: generalizable lvalue, it will be lvalue or xvalue rvalue: not addressable value(no...
C++ - unique_ptr for custom resource less than 1 minute read Using unique_ptr for a custom resource such as opening a file.
C++ - template meta programming less than 1 minute read Please watch the following youtube to understand basic of C++ template meta programming
C++ - virtual destructor disable move semantic less than 1 minute read Declaring virtual destructor will disable move sematic