Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Energy ConsumptionNew to Visual Studio Code? Get it now.
Energy Consumption

Energy Consumption

Dzamby

|
3 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

energyconsumption README

Features

Static Energy Analysis – estimates energy usage by counting operations in the selected code and applying predefined energy weights.

Dynamic Energy Analysis – compiles and executes the selected code to measure real execution time, CPU usage, and energy consumption.

Visualization – displays results using tables and interactive graphs.

Export to PDF – allows easy saving and sharing of the analysis results.

Error Handling – provides clear error messages if the code selection is invalid or the compilation fails.

Designed for Developers – useful for professionals, students, and researchers to optimize code from an energy efficiency perspective

Requirements

GCC (GNU Compiler Collection) must be installed and accessible via system PATH. Visual Studio Code (latest version recommended).

Extension Settings

No extension settings.

Known Issues

Only supported Slovak language

Only C language code is supported in the current version.

Dynamic analysis may fail if the selected code cannot be compiled.

CPU power detection is estimated and might vary slightly depending on the system.

Release Notes

1.0.0

Initial release of energy analysis

Added support for static and dynamic energy analysis.

Implemented real-time result visualization and PDF export.

Integrated automatic error handling and user notifications.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft