×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    2

    measuing the amount of energy comsumed in a function call

    hi guys

    I wonder if there's such API that I can use to measure the amount of battery energy comsumed in a function, such as:

    begBattery = SomeAPI();
    // do something
    endBattery = SomeAPI();
    batteryConsumed = endBattery - begBattery;

    I found there's a API called GetBatteryInfo() of CTelephony, but the problem with this API is that its precision is too low, so I wonder if there's some better API.

    Thanks in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,697

    Re: measuing the amount of energy comsumed in a function call

    You can check Nokia Energy Profiler, it also has some API as I know. Library above, Tools and downloads, Find more tools.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    2

    Re: measuing the amount of energy comsumed in a function call

    thanks for your reply, and that's what I found

Similar Threads

  1. Problem in computing amount of miss call time
    By simar.i3r in forum Symbian
    Replies: 4
    Last Post: 2010-09-06, 01:50
  2. Replies: 1
    Last Post: 2009-05-22, 11:45
  3. Replies: 7
    Last Post: 2009-01-02, 21:14
  4. (Bluetooth) RSocket Write function does not call RunL function
    By ronald29 in forum Symbian Networking & Messaging (Closed)
    Replies: 13
    Last Post: 2008-10-14, 10:58
  5. Execption manipulate when C++function call C function
    By zhangpengstu in forum Open C/C++
    Replies: 1
    Last Post: 2008-05-28, 11:09

Posting Permissions

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