source: abuse/trunk/src/profile.h @ 682

Last change on this file since 682 was 643, checked in by Sam Hocevar, 9 years ago

imlib: refactor Event and EventHandler?.

  • Property svn:keywords set to Id
File size: 627 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
10
11#ifndef __JPROF_HPP_
12#define __JPROF_HPP_
13
14#include "event.h"
15
16void profile_init();
17void profile_reset();
18void profile_uninit();
19void profile_add_time(int type, float amount);
20void profile_update();
21void profile_toggle();
22int profile_handle_event(Event &ev);
23int profiling();
24
25
26#endif
Note: See TracBrowser for help on using the repository browser.