reteset
06-22-2008, 12:01 PM
Hi to all
a new action plugin CMU from me
CMU is shot name of CPU and memory usage viewer
i have attached an AMS 6 Example,
you can view detailed usage of plugin
it has 3 functions
GetMemoryUsageOf()
returns memory usage of an application via its window
handle in byte , returns (zero) 0 if an error occured
GetCPUsageTotal()
returns overall CPU usage percentage (0-100)
returns (zero) 0 if an error occured
GetCPUsageOf()
returns CPU usage percentage (0-100) of an application
via its window handle , returns (zero) 0 if an error occured
Notes:
1 ) return values may be different from real data, about %1 - %2
2 ) this plugin may not work properly on Win98
3 ) this plugin may require Admin Rights on Windows Vista (not sure)
4 ) do not decrease timer interval,function call period should be minimum 1000 milliseconds (see example)
If You Running Operating System Other Than WinXp SP2,
Please Write Here That How It Works. Thanks
a new action plugin CMU from me
CMU is shot name of CPU and memory usage viewer
i have attached an AMS 6 Example,
you can view detailed usage of plugin
it has 3 functions
GetMemoryUsageOf()
returns memory usage of an application via its window
handle in byte , returns (zero) 0 if an error occured
GetCPUsageTotal()
returns overall CPU usage percentage (0-100)
returns (zero) 0 if an error occured
GetCPUsageOf()
returns CPU usage percentage (0-100) of an application
via its window handle , returns (zero) 0 if an error occured
Notes:
1 ) return values may be different from real data, about %1 - %2
2 ) this plugin may not work properly on Win98
3 ) this plugin may require Admin Rights on Windows Vista (not sure)
4 ) do not decrease timer interval,function call period should be minimum 1000 milliseconds (see example)
If You Running Operating System Other Than WinXp SP2,
Please Write Here That How It Works. Thanks