Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Flat profile:
- Each sample counts as 0.01 seconds.
- % cumulative self self total
- time seconds seconds calls Ts/call Ts/call name
- 42.86 0.03 0.03 sf::priv::WindowImpl::processJoystickEvents()
- 14.29 0.04 0.01 sf::priv::JoystickManager::update()
- 14.29 0.05 0.01 sf::priv::ClockImpl::getCurrentTime()
- 14.29 0.06 0.01 std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned int, unsigned char const&)
- 14.29 0.07 0.01 _glewSearchExtension
- 0.00 0.07 0.00 12 0.00 0.00 Npc::Npc()
- 0.00 0.07 0.00 12 0.00 0.00 Body::Body()
- 0.00 0.07 0.00 12 0.00 0.00 Stats::Stats()
- 0.00 0.07 0.00 3 0.00 0.00 std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >*, std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > > >, unsigned int, std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > const&)
- 0.00 0.07 0.00 2 0.00 0.00 Npc::getX()
- 0.00 0.07 0.00 2 0.00 0.00 Npc::getY()
- 0.00 0.07 0.00 2 0.00 0.00 Npc::setX(int)
- 0.00 0.07 0.00 2 0.00 0.00 Npc::setY(int)
- 0.00 0.07 0.00 2 0.00 0.00 _monstartup
- 0.00 0.07 0.00 1 0.00 0.00 Map::setNpcType(int, int, Textures::textureTypes)
- 0.00 0.07 0.00 1 0.00 0.00 Map::setWalkable(int, int, bool)
- 0.00 0.07 0.00 1 0.00 0.00 Map::addNpc(int, int, Textures::textureTypes)
- 0.00 0.07 0.00 1 0.00 0.00 Map::loadMap(std::string)
- 0.00 0.07 0.00 1 0.00 0.00 Map::Map()
- 0.00 0.07 0.00 1 0.00 0.00 Body::initializeBody(int)
- 0.00 0.07 0.00 1 0.00 0.00 Game::run()
- 0.00 0.07 0.00 1 0.00 0.00 Game::Game()
- 0.00 0.07 0.00 1 0.00 0.00 Actor::Actor()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateAge()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateName()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateRace()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateGender()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateHeight()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateWeight()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateEyeColour()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateSkinColour()
- 0.00 0.07 0.00 1 0.00 0.00 Stats::generateSocialStatus()
- 0.00 0.07 0.00 1 0.00 0.00 Console::Console()
- 0.00 0.07 0.00 1 0.00 0.00 Textures::initTextures()
- 0.00 0.07 0.00 1 0.00 0.00 Textures::assignTextures()
- 0.00 0.07 0.00 1 0.00 0.00 std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<terrainProperties, std::allocator<terrainProperties> >*, std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > > >, unsigned int, std::vector<terrainProperties, std::allocator<terrainProperties> > const&)
- 0.00 0.07 0.00 1 0.00 0.00 std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Npc, std::allocator<Npc> >*, std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > > >, unsigned int, std::vector<Npc, std::allocator<Npc> > const&)
- 0.00 0.07 0.00 1 0.00 0.00 main
- % the percentage of the total running time of the
- time program used by this function.
- cumulative a running sum of the number of seconds accounted
- seconds for by this function and those listed above it.
- self the number of seconds accounted for by this
- seconds function alone. This is the major sort for this
- listing.
- calls the number of times this function was invoked, if
- this function is profiled, else blank.
- self the average number of milliseconds spent in this
- ms/call function per call, if this function is profiled,
- else blank.
- total the average number of milliseconds spent in this
- ms/call function and its descendents per call, if this
- function is profiled, else blank.
- name the name of the function. This is the minor sort
- for this listing. The index shows the location of
- the function in the gprof listing. If the index is
- in parenthesis it shows where it would appear in
- the gprof listing if it were to be printed.
- Copyright (C) 2012 Free Software Foundation, Inc.
- Copying and distribution of this file, with or without modification,
- are permitted in any medium without royalty provided the copyright
- notice and this notice are preserved.
- Call graph (explanation follows)
- granularity: each sample hit covers 4 byte(s) for 14.29% of 0.07 seconds
- index % time self children called name
- <spontaneous>
- [1] 42.9 0.03 0.00 sf::priv::WindowImpl::processJoystickEvents() [1]
- -----------------------------------------------
- <spontaneous>
- [2] 14.3 0.01 0.00 sf::priv::JoystickManager::update() [2]
- -----------------------------------------------
- <spontaneous>
- [3] 14.3 0.01 0.00 sf::priv::ClockImpl::getCurrentTime() [3]
- -----------------------------------------------
- <spontaneous>
- [4] 14.3 0.01 0.00 std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned int, unsigned char const&) [4]
- -----------------------------------------------
- <spontaneous>
- [5] 14.3 0.01 0.00 _glewSearchExtension [5]
- -----------------------------------------------
- 0.00 0.00 1/12 Actor::Actor() [24]
- 0.00 0.00 11/12 _fu231___ZTVSt9basic_iosIcSt11char_traitsIcEE [1380]
- [7] 0.0 0.00 0.00 12 Npc::Npc() [7]
- 0.00 0.00 12/12 Body::Body() [8]
- -----------------------------------------------
- 0.00 0.00 12/12 Npc::Npc() [7]
- [8] 0.0 0.00 0.00 12 Body::Body() [8]
- -----------------------------------------------
- 0.00 0.00 1/12 Actor::Actor() [24]
- 0.00 0.00 11/12 _fu231___ZTVSt9basic_iosIcSt11char_traitsIcEE [1380]
- [9] 0.0 0.00 0.00 12 Stats::Stats() [9]
- -----------------------------------------------
- 0.00 0.00 3/3 _fu231___ZTVSt9basic_iosIcSt11char_traitsIcEE [1380]
- [10] 0.0 0.00 0.00 3 std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >*, std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > > >, unsigned int, std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > const&) [10]
- -----------------------------------------------
- 0.00 0.00 2/2 Game::Game() [23]
- [11] 0.0 0.00 0.00 2 Npc::getX() [11]
- -----------------------------------------------
- 0.00 0.00 2/2 Game::Game() [23]
- [12] 0.0 0.00 0.00 2 Npc::getY() [12]
- -----------------------------------------------
- 0.00 0.00 1/2 Actor::Actor() [24]
- 0.00 0.00 1/2 Map::addNpc(int, int, Textures::textureTypes) [18]
- [13] 0.0 0.00 0.00 2 Npc::setX(int) [13]
- -----------------------------------------------
- 0.00 0.00 1/2 Actor::Actor() [24]
- 0.00 0.00 1/2 Map::addNpc(int, int, Textures::textureTypes) [18]
- [14] 0.0 0.00 0.00 2 Npc::setY(int) [14]
- -----------------------------------------------
- 0.00 0.00 1/2 _fu9___ZNSs4_Rep20_S_empty_rep_storageE [1517]
- 0.00 0.00 1/2 Game::Game() [23]
- [15] 0.0 0.00 0.00 2 _monstartup [15]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [16] 0.0 0.00 0.00 1 Map::setNpcType(int, int, Textures::textureTypes) [16]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [17] 0.0 0.00 0.00 1 Map::setWalkable(int, int, bool) [17]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [18] 0.0 0.00 0.00 1 Map::addNpc(int, int, Textures::textureTypes) [18]
- 0.00 0.00 1/2 Npc::setX(int) [13]
- 0.00 0.00 1/2 Npc::setY(int) [14]
- 0.00 0.00 1/1 Body::initializeBody(int) [21]
- 0.00 0.00 1/1 Stats::generateGender() [28]
- 0.00 0.00 1/1 Stats::generateAge() [25]
- 0.00 0.00 1/1 Stats::generateHeight() [29]
- 0.00 0.00 1/1 Stats::generateName() [26]
- 0.00 0.00 1/1 Stats::generateWeight() [30]
- 0.00 0.00 1/1 Stats::generateRace() [27]
- 0.00 0.00 1/1 Stats::generateEyeColour() [31]
- 0.00 0.00 1/1 Stats::generateSkinColour() [32]
- 0.00 0.00 1/1 Stats::generateSocialStatus() [33]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::Map() [20]
- [19] 0.0 0.00 0.00 1 Map::loadMap(std::string) [19]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [20] 0.0 0.00 0.00 1 Map::Map() [20]
- 0.00 0.00 1/1 Map::loadMap(std::string) [19]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [21] 0.0 0.00 0.00 1 Body::initializeBody(int) [21]
- -----------------------------------------------
- 0.00 0.00 1/1 main [39]
- [22] 0.0 0.00 0.00 1 Game::run() [22]
- -----------------------------------------------
- 0.00 0.00 1/1 main [39]
- [23] 0.0 0.00 0.00 1 Game::Game() [23]
- 0.00 0.00 2/2 Npc::getY() [12]
- 0.00 0.00 2/2 Npc::getX() [11]
- 0.00 0.00 1/1 Map::Map() [20]
- 0.00 0.00 1/1 Actor::Actor() [24]
- 0.00 0.00 1/1 Console::Console() [34]
- 0.00 0.00 1/1 Textures::initTextures() [35]
- 0.00 0.00 1/1 Textures::assignTextures() [36]
- 0.00 0.00 1/1 Map::setNpcType(int, int, Textures::textureTypes) [16]
- 0.00 0.00 1/1 Map::setWalkable(int, int, bool) [17]
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- 0.00 0.00 1/2 _monstartup [15]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [24] 0.0 0.00 0.00 1 Actor::Actor() [24]
- 0.00 0.00 1/12 Stats::Stats() [9]
- 0.00 0.00 1/12 Npc::Npc() [7]
- 0.00 0.00 1/2 Npc::setX(int) [13]
- 0.00 0.00 1/2 Npc::setY(int) [14]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [25] 0.0 0.00 0.00 1 Stats::generateAge() [25]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [26] 0.0 0.00 0.00 1 Stats::generateName() [26]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [27] 0.0 0.00 0.00 1 Stats::generateRace() [27]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [28] 0.0 0.00 0.00 1 Stats::generateGender() [28]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [29] 0.0 0.00 0.00 1 Stats::generateHeight() [29]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [30] 0.0 0.00 0.00 1 Stats::generateWeight() [30]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [31] 0.0 0.00 0.00 1 Stats::generateEyeColour() [31]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [32] 0.0 0.00 0.00 1 Stats::generateSkinColour() [32]
- -----------------------------------------------
- 0.00 0.00 1/1 Map::addNpc(int, int, Textures::textureTypes) [18]
- [33] 0.0 0.00 0.00 1 Stats::generateSocialStatus() [33]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [34] 0.0 0.00 0.00 1 Console::Console() [34]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [35] 0.0 0.00 0.00 1 Textures::initTextures() [35]
- -----------------------------------------------
- 0.00 0.00 1/1 Game::Game() [23]
- [36] 0.0 0.00 0.00 1 Textures::assignTextures() [36]
- -----------------------------------------------
- 0.00 0.00 1/1 _fu231___ZTVSt9basic_iosIcSt11char_traitsIcEE [1380]
- [37] 0.0 0.00 0.00 1 std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<terrainProperties, std::allocator<terrainProperties> >*, std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > > >, unsigned int, std::vector<terrainProperties, std::allocator<terrainProperties> > const&) [37]
- -----------------------------------------------
- 0.00 0.00 1/1 _fu231___ZTVSt9basic_iosIcSt11char_traitsIcEE [1380]
- [38] 0.0 0.00 0.00 1 std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Npc, std::allocator<Npc> >*, std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > > >, unsigned int, std::vector<Npc, std::allocator<Npc> > const&) [38]
- -----------------------------------------------
- 0.00 0.00 1/1 _fu67___ZNSs4_Rep20_S_empty_rep_storageE [1481]
- [39] 0.0 0.00 0.00 1 main [39]
- 0.00 0.00 1/1 Game::Game() [23]
- 0.00 0.00 1/1 Game::run() [22]
- -----------------------------------------------
- This table describes the call tree of the program, and was sorted by
- the total amount of time spent in each function and its children.
- Each entry in this table consists of several lines. The line with the
- index number at the left hand margin lists the current function.
- The lines above it list the functions that called this function,
- and the lines below it list the functions this one called.
- This line lists:
- index A unique number given to each element of the table.
- Index numbers are sorted numerically.
- The index number is printed next to every function name so
- it is easier to look up where the function is in the table.
- % time This is the percentage of the `total' time that was spent
- in this function and its children. Note that due to
- different viewpoints, functions excluded by options, etc,
- these numbers will NOT add up to 100%.
- self This is the total amount of time spent in this function.
- children This is the total amount of time propagated into this
- function by its children.
- called This is the number of times the function was called.
- If the function called itself recursively, the number
- only includes non-recursive calls, and is followed by
- a `+' and the number of recursive calls.
- name The name of the current function. The index number is
- printed after it. If the function is a member of a
- cycle, the cycle number is printed between the
- function's name and the index number.
- For the function's parents, the fields have the following meanings:
- self This is the amount of time that was propagated directly
- from the function into this parent.
- children This is the amount of time that was propagated from
- the function's children into this parent.
- called This is the number of times this parent called the
- function `/' the total number of times the function
- was called. Recursive calls to the function are not
- included in the number after the `/'.
- name This is the name of the parent. The parent's index
- number is printed after it. If the parent is a
- member of a cycle, the cycle number is printed between
- the name and the index number.
- If the parents of the function cannot be determined, the word
- `<spontaneous>' is printed in the `name' field, and all the other
- fields are blank.
- For the function's children, the fields have the following meanings:
- self This is the amount of time that was propagated directly
- from the child into the function.
- children This is the amount of time that was propagated from the
- child's children to the function.
- called This is the number of times the function called
- this child `/' the total number of times the child
- was called. Recursive calls by the child are not
- listed in the number after the `/'.
- name This is the name of the child. The child's index
- number is printed after it. If the child is a
- member of a cycle, the cycle number is printed
- between the name and the index number.
- If there are any cycles (circles) in the call graph, there is an
- entry for the cycle-as-a-whole. This entry shows who called the
- cycle (as parents) and the members of the cycle (as children.)
- The `+' recursive calls entry shows the number of function calls that
- were internal to the cycle, and the calls entry for each member shows,
- for that member, how many times it was called from other members of
- the cycle.
- Copyright (C) 2012 Free Software Foundation, Inc.
- Copying and distribution of this file, with or without modification,
- are permitted in any medium without royalty provided the copyright
- notice and this notice are preserved.
- Index by function name
- [1] sf::priv::WindowImpl::processJoystickEvents() [21] Body::initializeBody(int) [33] Stats::generateSocialStatus()
- [2] sf::priv::JoystickManager::update() [8] Body::Body() [9] Stats::Stats()
- [3] sf::priv::ClockImpl::getCurrentTime() [22] Game::run() [34] Console::Console()
- [16] Map::setNpcType(int, int, Textures::textureTypes) [23] Game::Game() [35] Textures::initTextures()
- [17] Map::setWalkable(int, int, bool) [24] Actor::Actor() [36] Textures::assignTextures()
- [18] Map::addNpc(int, int, Textures::textureTypes) [25] Stats::generateAge() [37] std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<terrainProperties, std::allocator<terrainProperties> >*, std::vector<std::vector<terrainProperties, std::allocator<terrainProperties> >, std::allocator<std::vector<terrainProperties, std::allocator<terrainProperties> > > > >, unsigned int, std::vector<terrainProperties, std::allocator<terrainProperties> > const&)
- [19] Map::loadMap(std::string) [26] Stats::generateName() [38] std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Npc, std::allocator<Npc> >*, std::vector<std::vector<Npc, std::allocator<Npc> >, std::allocator<std::vector<Npc, std::allocator<Npc> > > > >, unsigned int, std::vector<Npc, std::allocator<Npc> > const&)
- [20] Map::Map() [27] Stats::generateRace() [10] std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >*, std::vector<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> >, std::allocator<std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > > > >, unsigned int, std::vector<Textures::textureTypes, std::allocator<Textures::textureTypes> > const&)
- [11] Npc::getX() [28] Stats::generateGender() [4] std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned int, unsigned char const&)
- [12] Npc::getY() [29] Stats::generateHeight() [5] _glewSearchExtension
- [13] Npc::setX(int) [30] Stats::generateWeight() [15] _monstartup
- [14] Npc::setY(int) [31] Stats::generateEyeColour() [39] main
- [7] Npc::Npc() [32] Stats::generateSkinColour()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement