Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Posts
    1,443

    Lightbulb Free CMU Action Plugin

    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

    Code:
    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
    Attached Images
    Attached Files

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Thanks really much! verry usefull ^_^
    Last edited by Imagine Programming; 06-22-2008 at 11:13 AM.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Jul 2007
    Posts
    158
    That was really helpful, TanQ

  4. #4
    Join Date
    Aug 2006
    Posts
    355
    thanks!

    but, not is possible get a system processes for getcpu and ram ussage?

  5. #5
    Join Date
    May 2006
    Posts
    5,380
    nice work, just what i need, i got a problem with low spec machines with my app, the app runs but functions (loops) perform very slowly, i can make the app release (or stop what it doing) but the problem i was having was knowing when the app is is about to lock up.

    just had a quick play with this and already have a small system to detect when the app is useing to many resources based on the system specs and other running apps.

    reteset, you are on fire dude, keep up the great work
    Open your eyes to Narcissism, Don't let her destroy your life!!

  6. #6
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by Solmos View Post
    thanks!

    but, not is possible get a system processes for getcpu and ram ussage?
    please elaborate your question,
    did you mean that you want to get values for a process
    with process ID

  7. #7
    Join Date
    Aug 2006
    Posts
    355
    hi

    it's possible get ID process for getram and cpu ussage?

    please one example

    thx

  8. #8
    Join Date
    May 2008
    Posts
    22
    Is it possible to return the use of cpu of a concrete process? Thank you

  9. #9
    Join Date
    Mar 2009
    Posts
    37
    Please, update this plug-in for use with AMS 8

Similar Threads

  1. Free WindowEx Action Plugin
    By reteset in forum AutoPlay Media Studio 7.5
    Replies: 88
    Last Post: 01-30-2011, 10:40 AM
  2. FREE: UserMgmt Action Plugin
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 3
    Last Post: 04-11-2010, 09:21 PM
  3. FREE ACTION PLUGIN: Assert
    By ShadowUK in forum AutoPlay Media Studio 7.5
    Replies: 17
    Last Post: 02-22-2009, 05:36 AM
  4. FREE ACTION PLUGIN: Timer
    By ShadowUK in forum AutoPlay Media Studio 7.5
    Replies: 3
    Last Post: 03-28-2008, 08:57 AM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts