Welcome to my private very confidential page where you will read everything i’d never tell you ! Well .. I’m Pompei2 a.k.a Pompei ! wooooow !
BTW, if you came here from google or what ever the f., This is the developer’s wiki of our project: Arkana-FTS
*this is a placeholder for some blablablabla*
This is a draft, it will be moved to an own page as soon as it’s complete.
On linux, there is a great tool to profile applications even though they were not compiled with profiling symbols, not even with debugging symbols! It is called oprofile and works by hooking into the kernel. It comes with most distributions, so just check your distro’s repository to install it.
Once installed, you will first need to load the kernel modules (if they aren’t loaded by default). This can be done by issuing the following command as superuser:
> opcontrol --init
When that is done, you need to start a session. You can do it by typing the following commands into a console as superuser:
> opcontrol --no-vmlinux --start --session-dir=/home/pompei2/tmpsession
This will start a daemon and immediately start writing down statistics about your system into the directory /home/pompei2/tmpsession. Whenever you want to stop that, just execute the following as superuser:
> opcontrol --shutdown
It’s time to collect some statistics! So, first start Arkana-FTS. As soon as you start it, oprofile will start collecting profiling informations about everything Arkana does. Now, we can take a look at what oprofile registered by issuing the following command as a regular user:
> opreport --exclude-dependent --demangle=smart --session-dir=/home/pompei2/tmpsession/ --symbols ./fts > out.txt
The above command will try to show only profile informations of functions that are within the executable ./fts. Everything will be written into out.txt. Here is an excerpt of the file:
CPU: Core 2, speed 800 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 samples % symbol name 69335 24.3024 CEGUI::OpenGLRenderer::doRender() 53512 18.7563 aluMixData 10557 3.7003 lpFilterMC 8615 3.0196 mdct_butterfly_generic 7586 2.6589 vorbis_book_decodevv_add 6945 2.4343 mdct_backward 6667 2.3368 vorbis_synthesis_blockin 5749 2.0151 decode_packed_entry_number 5157 1.8076 render_line 4117 1.4430 aluF2S 4065 1.4248 mapping0_inverse 4021 1.4094 ov_read 3997 1.4010 mdct_bitreverse 3385 1.1865 oggpack_look 3353 1.1752 CEGUI::Window::update(float) 2794 0.9793 _Rb_tree_const_iterator<CEGUI::OpenGLRenderer::QuadInfo>::operator++()
You can notice that all the symbols from the statically linked libraries are included aswell, that is logical. The above excerpt is not! representative for Arkana-FTS’s current performance, it has been made while nothing else but the most basic GUI and Sound were active, in a testing branch. It is just supposed to give you a screenshot of what the profiler can do.
/// Bla /** Bla * * \param bla blabla * * \return If successfull: ERR_OK * \return If failed: An error code <0 * * \note bla * * \todo bla * * \author Pompei2 */
jetzt erstmal nur bezüglich der Menschen:
| Lucas | Supinya |
|---|---|
| 12.90 | 3.20 |