Skip to content

Tengfei1010/ComAir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComAir

Profiling C/C++ program complexity in production runs.

1. Prepare Your Runtime Env

2. How To Use ComAir

There are some examples scripts in stubs fold. Take stubs/apache34464 as an example.

  • You should change the local env variables in run_apache34464.sh.

  • If you want to run sampling of profiling, you should set sampling="1" in $ sh run_apache34464.sh. Or you can run $ sh run_apache34464.sh directly. The script will generate two files. One is xxx_func_name_id.txt, and the other is aprof_logger.txt. The first file is using to map function name to its' id. The second file saves all runtime log info. The py script in same fold can parse the log.

  • Active your python virtual env, run $ python run_apache34464.py. This script will automatically fit the function curve.

About

profiling program complexity in production runs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 36.9%
  • JavaScript 31.1%
  • C 28.8%
  • CMake 1.4%
  • Makefile 1.3%
  • Python 0.4%
  • Shell 0.1%