Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lisa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tooling
  • lisa
  • Issues
  • #1742
Closed
Open
Created Sep 17, 2021 by Darryl Green@Darryl.GreenOwner

Question: enable Arm energy probe (AEP) in ipython script

Created by: Leo-Yan

I want to enable AEP in the ipython script, and then invoke the functions to reset meter and record the meter for a specific workload. If I remember correctly, there have two interfaces for enabling AEP, one is the LISA's self interface and another is based on devlib. So I am not clear what's a good practice to enable AEP in ipython script.

I searched a bit for the document, it just gives out the suggestion for using the below configurations:

# AEP Energy Meter configuration
aep-conf:
    # Channels to use
    # type: Mapping
    channel-map: ['Device0' : 'BAT']

    # Resistor values
    # type: TypedList[float]
    resistor-values: [0.033]

    # List of labels
    # type: TypedList[str]
    labels: ['aep']

    # TTY device
    # type: TypedList[str]
    device-entry: ['/dev/ttyACM0']

If this is the good way to enable AEP, then what's the function I should use in ipython script for energy measurement? thanks for suggestions!

Assignee
Assign to
Time tracking