Skip to content

Commit

Permalink
feat: display energy usage in job view
Browse files Browse the repository at this point in the history
- optional emission constant config line added
  • Loading branch information
spacehamster87 committed Sep 27, 2024
1 parent f53fc08 commit 4822566
Show file tree
Hide file tree
Showing 11 changed files with 611 additions and 10 deletions.
8 changes: 8 additions & 0 deletions api/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type Job {
numNodes: Int!
numHWThreads: Int!
numAcc: Int!
energy: Float!
SMT: Int!
exclusive: Int!
partition: String!
Expand All @@ -28,6 +29,7 @@ type Job {
resources: [Resource!]!
concurrentJobs: JobLinkResultList
footprint: [FootprintValue]
energyFootprint: [EnergyFootprintValue]
metaData: Any
userData: User
}
Expand Down Expand Up @@ -65,6 +67,12 @@ type FootprintValue {
value: Float!
}

type EnergyFootprintValue {
hardware: String!
metric: String!
value: Float!
}

type MetricValue {
name: String
unit: Unit!
Expand Down
Loading

0 comments on commit 4822566

Please sign in to comment.