locked
Joulemeter 1.2 doesn't work on Win 8 gives exception message RRS feed

  • Question

  • I'm trying to find out how much power Win 8 consumes on a laptop compared to Win 7.

    But Joulemeter throws an exception when trying to calibration; any other SW tool to measure or will this be fixed??


    The monitor will turn off and change brightness. PLEASE DO NOT USE THE MOUSE, KEYBOARD, or other input devices. Starting calibration.
    Power usage monitoring is disabled during calibration.
    Calibration related data will be stored to: C:\Users\acs1\AppData\Local\Microsoft Research\Joulemeter\1.2.0.0
    Phase 1: Preparing system (may take several minutes) ...
    Joulemeter error: startIndex cannot be larger than length of string.
    Parameter name: startIndex
    Error details:    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at Microsoft.Research.Joulemeter.PowerConfig.GetGuidValue(String sub_cat_guid, String search_guid, PowerSource p)
       at Microsoft.Research.Joulemeter.PowerConfig.GetPowerSettings()
       at Microsoft.Research.Joulemeter.CPULoader.GetFreqExecTimes(Boolean areTStatesLoaded)
       at Microsoft.Research.Joulemeter.CPULoader..ctor(LoadProfileMultiCore multiCoreProfile, Boolean areTStatesLoaded)
       at Microsoft.Research.Joulemeter.SystemLoader.CreateLoaders()
       at Microsoft.Research.Joulemeter.SystemLoader..ctor(List`1 resourcesToLoad, String profilesFolder, String loadDataFolder, PowerMeterFilter powerMeterFilter, IntPtr hWnd)
       at JoulemeterWebDownload.MainWindow.RunCalibration(Object meterSelectedIndex)
    Notes: Events . MachineInfos OK. PowerInfos . PowerModelCPUs . PowerModelMonitors . PowerModelSystems . PowerRequests . PowerWakeTimers . SystemMeasurements

    Thursday, June 28, 2012 5:27 AM

Answers

  • We have not upgraded the software for Windows 8. The research project is somewhat on a backburner for now, so no immediate estimate on whether this will be done or when.

    The new Visual Studio Windows Phone 8 SDK does include similar technology for estimating app energy usage on WP8. Under Performance analysis tools.

    • Marked as answer by Abhimanyu C S Tuesday, November 20, 2012 5:05 AM
    Monday, November 19, 2012 6:03 PM

All replies

  • Same issue here, same stack trace, also windows 8.

    Tuesday, September 11, 2012 9:39 AM
  • Only views, no updates from MS :(

    Abhimanyu CS

    Tuesday, September 11, 2012 10:02 AM
  • We have not upgraded the software for Windows 8. The research project is somewhat on a backburner for now, so no immediate estimate on whether this will be done or when.

    The new Visual Studio Windows Phone 8 SDK does include similar technology for estimating app energy usage on WP8. Under Performance analysis tools.

    • Marked as answer by Abhimanyu C S Tuesday, November 20, 2012 5:05 AM
    Monday, November 19, 2012 6:03 PM
  • Thanks for the update

    Abhimanyu CS

    Tuesday, November 20, 2012 5:06 AM
  • Well, maybe those Microsoft Research backburners are getting some good use. 

    Over a year later and there are no updates.

    I guess this project is over?

    Friday, November 8, 2013 12:16 AM
  • The Joulemeter project was a research prototype and designed on Win 7.

    Moving to future versions, the functionality is offered as part of Visual Studio. Already released for Windows Phone https://blogs.windows.com/windows_phone/b/wpdev/archive/2013/01/17/optimizing-battery-consumption-of-windows-phone-applications.aspx?Redirected=true (download Windows Phone SDK to use it). The decision regarding when and if to release on Windows 8.1 rests with the Visual Studio team and I will recommend tracking new Visual Studio or Windows 8 SDK releases to check if this functionality is made available on Windows 8.1

    Tuesday, January 28, 2014 9:23 PM
  • It is working on Windows 8 I am using it

    Tuesday, November 4, 2014 7:36 PM
  • I have managed to run joulemter1.2 on my server(power-edge T620) an the OS is win server 2008;

    It's ok to open the software. However it failed to get the real-time consumption data and the tip goes: "Metering could not start. Error: Frequency counter was not created. None of the attempted counter names exited or had not-zero data"......;

    So what's wrong?? is it because my PC has 2 processors (12 cores)??

    Tuesday, November 25, 2014 2:38 AM