Skip to content

Commit

Permalink
types: applyl inter and fix docs formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Nov 14, 2023
1 parent bccab3f commit af0012a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/types/ccf.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@

// consumption information for a single instance
/**
* Consumption information for a single instance.
*/
export type IConsumption = {
idle?: number;
tenPercent?: number;
fiftyPercent?: number;
hundredPercent?: number;
minWatts?: number;
maxWatts?: number;
} // information about a single compute instance
};

/**
* Information about a single compute instance.
*/
export type IComputeInstance = {
consumption: IConsumption;
embodiedEmission?: number;
name: string;
vCPUs?: number;
maxVCPUs?: number;
}
};

export type ICcfResult = {
energy: number;
embodied_emissions: number;
}
};

0 comments on commit af0012a

Please sign in to comment.