MegaGlest/mk/linux/mg_perf.sh
Mark Vejvoda 9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00

16 lines
454 B
Bash
Executable File

#! /bin/sh
# Use this script to track performance while running MegaGlest
# ----------------------------------------------------------------------------
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
exec 3>&1
sudo opcontrol --reset
sudo opcontrol --start
./megaglest --load-scenario=benchmark
sudo opcontrol --shutdown
# opreport -lt1
opreport --symbols ./megaglest >perf.log
gedit perf.log