Giter VIP home page Giter VIP logo

lpowerprobe's Introduction

lPowerProbe - A light benchmark tool oriented for energy probing heavely based on likwid

Compilation

On normal x86 architecture, you can compile the project just using make:

    make

It is totally possible to redefine the CC/CXX/LD variables to change the compiler used during the process. You can install the program and the probes using the install rule. If you need to choose a specific output folder, you can define the PREFIX variable.

MIC support

lPowerProbe supports MIC. For that, you need to compile using the specialized Makefile:

    make -f Makefile.mic

Android support

lPowerProbe supports Android (and ARM). For that, you need to compile using the specialized Makefile:

    make -f Makefile.android

Your toolchain must be properly configured for crosscompiling to ARM architecture.

Usage

./lPowerProbe [OPTION] [prog] [args]

Performs standardized and accurate measurements. It can work in three different modes depending on the prog argument value:

  • prog is not specified: daemon mode: the measurement is (re)started/ended when receiving SIGUSR1.
  • prog ends by .s: it is compiled and run instrumented as a kernel.
  • otherwise: prog is run instrumented as an executable file.
  -h, --help				Display this help
  -v, --version				Display the program version

  -l, --libraries			Probes libraries to load to bench the execution
  -r, --repetition=NUMBER		Number of repetition for the test
  -d, --duplicate=NUMBER		Number of process to start
  -p, --pinning="pin1;pin2;..."		Where to pin the processes
  -o, --output="resultFile"		Where to write the results
  -m, --iteration-mem-size=NUMBER	The memory size in bytes used in the kernel per iteration
  -i, --iteration=NUMBER		The number of kernel iteration

The result is output in a file called 'output.csv' or in terminal if the file can't be write.

Generate documentation

The documentation can be generated using doxygen and the following command:

   make doc

Licence

Copyright (C) 2013-2015 Universite de Versailles GPLv3

See COPYRIGHT file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.