2 Replies Latest reply on Jun 9, 2015 11:09 AM by rlyerly

    Newcomer w/ Power Measurement Questions

    rlyerly

      Hi fellow developers,

       

      I'm a student studying heterogeneous computing, and in particular, systems software to support transparent execution of compute across various multi-ISA devices.  I'm interested in monitoring power & performance, and am particularly excited about the possibilites of new AMD APUs!

       

      In particular, I'm wondering if AMD exposes any sort of power-measurement API for APUs.  I know CodeXL has power measurement capabilities for APUs, so I'm just wondering if there's a way I can programmatically measure/monitor power.  Thanks!

        • Re: Newcomer w/ Power Measurement Questions
          dorono

          Hi,

          If you know your way around low level programming then you can take a look at the public BKDG docs that AMD publishes for its APUs here:

          http://developer.amd.com/resources/documentation-articles/developer-guides-manuals/

           

          An easier alternative is the public API for controlling power profiling from user code that will be included in a future release of CodeXL. This should make power monitoring from user code immensely easier than following the BKDG documentation, and should be available soon. Sorry - I can't disclose release schedules, company policy.

           

          Doron

            • Re: Newcomer w/ Power Measurement Questions
              rlyerly

              Hi Doron,

               

              Thanks for the answer!  I have no issues doing low-level programming, I've implemented something like this before.  Could you point me in the right direction though?  I'm using an AMD A10-7850K APU, and as far as I can tell I should be looking at the BKDG for Family 16h Models 00h-0Fh Processors.  I've looked through the table of contents and several sections, but I don't see too much about power monitoring on the CPU & GPU.  Is there a register/set of registers (like an MSR or something) that I can query to get current power information?  Is there a section in the BKDG somewhere that details how to get the power information?  Thanks for your help!