Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 16.37 0.28 0.28 21719 0.00 0.00 AGOS::AGOSEngine::drawVertImageCompressed(AGOS::VC10_state*) 9.94 0.45 0.17 22451 0.00 0.00 AGOS::AGOSEngine::drawBackGroundImage(AGOS::VC10_state*) 8.77 0.60 0.15 306504 0.00 0.00 AGOS::vc10_depackColumn(AGOS::VC10_state*) 5.85 0.70 0.10 11309 0.00 0.00 OSystem_SDL::blitCursor() 5.85 0.80 0.10 771 0.00 0.00 AGOS::AGOSEngine_Simon1::draw32ColorImage(AGOS::VC10_state*) 3.51 0.86 0.06 209744 0.00 0.00 OSystem_SDL::internUpdateScreen() 2.92 0.91 0.05 210522 0.00 0.00 OSystem_SDL::pollEvent(Common::Event&) 2.34 0.95 0.04 4421 0.00 0.00 AGOS::AGOSEngine::displayScreen() 1.75 0.98 0.03 541305 0.00 0.00 OSystem_SDL::unlockMutex(Common::OpaqueMutex*) 1.75 1.01 0.03 399810 0.00 0.00 OSystem_SDL::updateCD() 1.75 1.04 0.03 399810 0.00 0.00 Audio::AudioCDManager::updateCD() 1.75 1.07 0.03 210522 0.00 0.00 OSystem_SDL::handleKbdMouse() 1.75 1.10 0.03 209705 0.00 0.00 OSystem_SDL::delayMillis(unsigned int) 1.75 1.13 0.03 190365 0.00 0.00 AGOS::AGOSEngine::delay(unsigned int) 1.75 1.16 0.03 84746 0.00 0.00 AGOS::AGOSEngine::dirtyClipCheck(short, short, short, short) 1.75 1.19 0.03 13241 0.00 0.00 AGOS::AGOSEngine::runVgaScript() 1.75 1.22 0.03 10375 0.00 0.00 Graphics::CursorManager::replaceCursor(unsigned char const*, unsigned int, unsigned int, int, int, unsigned char, int) 1.75 1.25 0.03 768 0.00 0.00 AGOS::AGOSEngine::paletteFadeOut(unsigned char*, unsigned int, unsigned int) 1.17 1.27 0.02 491202 0.00 0.00 Common::StackLock::lock() 1.17 1.29 0.02 491202 0.00 0.00 Common::StackLock::unlock() 1.17 1.31 0.02 39153 0.00 0.00 Normal1x(unsigned char const*, unsigned int, unsigned char*, unsigned int, int, int) 1.17 1.33 0.02 37181 0.00 0.00 AGOS::AGOSEngine::animateSprites() 1.17 1.35 0.02 23679 0.00 0.00 AGOS::AGOSEngine::saveBackGround(AGOS::VgaSprite*) 1.17 1.37 0.02 14879 0.00 0.00 Graphics::CursorManager::showMouse(bool) 0.58 1.38 0.01 1859881 0.00 0.00 AGOS::AGOSEngine::getGameType() const 0.58 1.39 0.01 913092 0.00 0.00 OSystem_SDL::getMillis() 0.58 1.40 0.01 913092 0.00 0.00 DefaultEventManager::processMillis(unsigned int&) 0.58 1.41 0.01 541305 0.00 0.00 OSystem_SDL::lockMutex(Common::OpaqueMutex*) 0.58 1.42 0.01 491202 0.00 0.00 Common::StackLock::~StackLock() 0.58 1.43 0.01 210522 0.00 0.00 DefaultEventManager::pollEvent(Common::Event&) 0.58 1.44 0.01 209757 0.00 0.00 Common::StackLock::StackLock(Common::OpaqueMutex*, char const*) 0.58 1.45 0.01 209743 0.00 0.00 OSystem_SDL::updateScreen() 0.58 1.46 0.01 190365 0.00 0.00 Common::RandomSource::getRandomNumber(unsigned int) 0.58 1.47 0.01 162765 0.00 0.00 AGOS::AGOSEngine::getFeatures() const 0.58 1.48 0.01 49259 0.00 0.00 Common::String::compareTo(char const*) const 0.58 1.49 0.01 47802 0.00 0.00 OSystem_SDL::addDirtyRect(int, int, int, int, bool) 0.58 1.50 0.01 45049 0.00 0.00 AGOS::AGOSEngine_Simon1::drawImage(AGOS::VC10_state*) 0.58 1.51 0.01 37195 0.00 0.00 AGOS::AGOSEngine::processVgaEvents() 0.58 1.52 0.01 24327 0.00 0.00 Common::String::ensureCapacity(unsigned int, bool) 0.58 1.53 0.01 23766 0.00 0.00 AGOS::AGOSEngine::drawImage_init(short, unsigned short, short, short, unsigned short) 0.58 1.54 0.01 21736 0.00 0.00 AGOS::vc10_skip_cols(AGOS::VC10_state*) 0.58 1.55 0.01 16399 0.00 0.00 AGOS::AGOSEngine::findCurSprite() 0.58 1.56 0.01 15063 0.00 0.00 AGOS::AGOSEngine::timer_proc1() 0.58 1.57 0.01 13213 0.00 0.00 AGOS::AGOSEngine::animateEvent(unsigned char const*, unsigned short, unsigned short) 0.58 1.58 0.01 10571 0.00 0.00 OSystem_SDL::showMouse(bool) 0.58 1.59 0.01 10376 0.00 0.00 OSystem_SDL::setMouseCursor(unsigned char const*, unsigned int, unsigned int, int, int, unsigned char, int) 0.58 1.60 0.01 10375 0.00 0.00 AGOS::AGOSEngine::drawMousePointer() 0.58 1.61 0.01 8500 0.00 0.00 GUI::Eval::getToken() 0.58 1.62 0.01 4822 0.00 0.00 AGOS::AGOSEngine::hitarea_stuff_helper() 0.58 1.63 0.01 4506 0.00 0.00 AGOS::AGOSEngine::dirtyClips() 0.58 1.64 0.01 1938 0.00 0.00 Common::HashMap::lookup(Common::String const&) const 0.58 1.65 0.01 1468 0.00 0.00 AGOS::AGOSEngine::animate(unsigned short, unsigned short, unsigned short, short, short, unsigned short, bool) 0.58 1.66 0.01 1446 0.00 0.00 AGOS::AGOSEngine::vc23_setPriority() 0.58 1.67 0.01 1407 0.00 0.00 AGOS::AGOSEngine::vc25_halt_sprite() 0.58 1.68 0.01 1202 0.00 0.00 AGOS::AGOSEngine::vc45_setSpriteX() 0.58 1.69 0.01 1141 0.00 0.00 Common::SeekableReadStream::readLine(char*, unsigned int) 0.58 1.70 0.01 132 0.00 0.00 AGOS::AGOSEngine::boxController(unsigned int, unsigned int, unsigned int) 0.58 1.71 0.01 1 0.01 0.01 GUI::Debugger::Debugger() 0.00 1.71 0.00 913101 0.00 0.00 OSystem::getEventManager() 0.00 1.71 0.00 281445 0.00 0.00 Common::StackLock::StackLock(Common::Mutex const&, char const*) 0.00 1.71 0.00 209744 0.00 0.00 OSystem_SDL::drawMouse() 0.00 1.71 0.00 209451 0.00 0.00 AGOS::AGOSEngine::getGameId() const ...snipped!