C language function:GetPerformanceInfo sample codes

Search sample code in the internet.It is the result.


TITLE : jna/CHANGES.md at master java-native-access/jna GitHub
* #640: Add com.sun.jna.platform.win32.Psapi.GetPerformanceInfo(), com.sun.jna.platform.win32.Kernel32.GetTickCount64(), and com.sun.jna.platform.win32.Kernel32.SetErrorMode() - @dbwiddis........
http://github.com/java-native-access/jna/blob/master/CHANGES.md


TITLE : GetPerformanceInfo function (Windows)
BOOL WINAPI GetPerformanceInfo(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683210(v=vs.85).aspx
TITLE : c - undefined reference to `GetPerformanceInfo@8' - Stack Overflow
GetPerformanceInfo(&statex2,statex2.cb);.......
http://stackoverflow.com/questions/20876535/undefined-reference-to-getperformanceinfo8
TITLE : windows 7 - How is "% committed bytes in use" in Perfmon calculated? - Super User
Check out GetPerformanceInfo(). It kicks back commit numbers........
http://superuser.com/questions/278200/how-is-committed-bytes-in-use-in-perfmon-calculated
TITLE : Windows PsApi GetPerformanceInfo C# Wrapper
PerfomanceInfoData perfData = PsApiWrapper.GetPerformanceInfo();.......
http://www.antoniob.com/windows-psapi-getperformanceinfo-csharp-wrapper.html
TITLE : Windows PsApi GetPerformanceInfo C# Wrapper
private static extern bool GetPerformanceInfo([Out] out PsApiPerformanceInformation PerformanceInformation, [In] int Size);.......
http://www.antoniob.com/windows-psapi-getperformanceinfo-csharp-wrapper.html
TITLE : Windows PsApi GetPerformanceInfo C# Wrapper
public static PerfomanceInfoData GetPerformanceInfo().......
http://www.antoniob.com/windows-psapi-getperformanceinfo-csharp-wrapper.html
TITLE : Windows PsApi GetPerformanceInfo C# Wrapper
if (GetPerformanceInfo(out perfInfo, Marshal.SizeOf(perfInfo))).......
http://www.antoniob.com/windows-psapi-getperformanceinfo-csharp-wrapper.html
TITLE : Memory Allocation Tool - CodeProject
This is the promised update for non-Windows XP users. Now the application does no longer require the PSAPI.dll. Instead it emulates the GetPerformanceInfo() function by an internal function which returns almost the same information. The only differences are two values which I could not easily retrieve. These values are the "Commit Peak" and "System Cache" values. Probably you won't miss them anyway........
http://www.codeproject.com/Articles/3520/Memory-Allocation-Tool
TITLE : Memory Allocation Tool - CodeProject
My apologies for this. You are right. GetPerformanceInfo() is only available in the PSAPI.DLL included in WindowsXP........
http://www.codeproject.com/Articles/3520/Memory-Allocation-Tool
search Google

https://www.google.com/#q=GetPerformanceInfo