Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- V4L monitor (Colour)
- --------------------
- 384x288 @ 10 fps
- Modect
- Single zone (using AlarmedPixels only)
- PATCH:
- (zma should be even better with SSSE3 capable CPU, My ZM box doesn't have SSSE3)
- Capture palette: BGR32 -> 32bit RGB
- ZMC PROFILING:
- Flat profile:
- Each sample counts as 0.01 seconds.
- % cumulative self self total
- time seconds seconds calls ms/call ms/call name
- 84.94 4.77 4.77 sse2copy_begin
- 4.99 5.05 0.28 10887 0.03 0.03 Image::Annotate(char const*, Coord const&, unsigned int, unsigned int)
- 1.60 5.14 0.09 memset
- 1.07 5.20 0.06 strncpy
- 0.89 5.25 0.05 __strftime_internal
- 0.71 5.29 0.04 ftruncate64
- 0.53 5.32 0.03 __tzstring
- 0.45 5.34 0.03 10887 0.00 0.00 LocalCamera::PostCapture()
- 0.36 5.36 0.02 10886 0.00 0.00 Monitor::GetState() const
- 0.36 5.38 0.02 __tz_convert
- 0.36 5.40 0.02 __tzfile_compute
- 0.36 5.42 0.02 random
- 0.27 5.44 0.02 10887 0.00 0.00 sse2_aligned_memcpy(void*, void const*, unsigned int)
- 0.27 5.45 0.02 1 15.00 15.00 LocalCamera::PrimeCapture()
- 0.18 5.46 0.01 10887 0.00 0.00 LocalCamera::Capture(Image&)
- 0.18 5.47 0.01 2 5.00 5.00 Image::Fill(unsigned int, int, Polygon const&)
- 0.18 5.48 0.01 1 10.00 385.00 main
- 0.18 5.49 0.01 _i18n_number_rewrite
- 0.18 5.50 0.01 _int_free
- 0.18 5.51 0.01 cfree
- 0.18 5.52 0.01 gettimeofday
- 0.18 5.53 0.01 malloc
- 0.18 5.54 0.01 memcpy
- 0.18 5.55 0.01 strchrnul
- 0.18 5.56 0.01 strcspn
- 0.18 5.57 0.01 strdup
- 0.18 5.58 0.01 strerror_r
- 0.18 5.59 0.01 strftime_l
- 0.18 5.60 0.01 strlen
- 0.18 5.61 0.01 vfprintf
- 0.00 5.61 0.00 10887 0.00 0.00 LocalCamera::PreCapture()
- 0.00 5.61 0.00 10887 0.00 0.00 Image::Assign(int, int, int, int, unsigned char const*, unsigned int)
- 0.00 5.61 0.00 10887 0.00 0.00 Monitor::CheckSignal(Image const*)
- 0.00 5.61 0.00 10887 0.00 0.03 Monitor::Capture()
- 0.00 5.61 0.00 10887 0.00 0.03 Monitor::TimestampImage(Image*, timeval const*) const
- 0.00 5.61 0.00 488 0.00 0.00 Image::Edge::CompareX(void const*, void const*)
- 0.00 5.61 0.00 197 0.00 0.00 ConfigItem::ConfigItem(char const*, char const*, char const*)
- 0.00 5.61 0.00 197 0.00 0.00 Config::Item(int)
- 0.00 5.61 0.00 197 0.00 0.00 ConfigItem::ConvertValue() const
- 0.00 5.61 0.00 64 0.00 0.00 ConfigItem::StringValue() const
- 0.00 5.61 0.00 54 0.00 0.00 Image::Image(int, int, int, int, unsigned char*)
- 0.00 5.61 0.00 54 0.00 0.00 Image::~Image()
- 0.00 5.61 0.00 19 0.00 0.00 zmDbgOutput
- 0.00 5.61 0.00 4 0.00 0.00 Image::AllocImgBuffer(unsigned int)
- 0.00 5.61 0.00 4 0.00 0.00 Image::Edge::CompareYX(void const*, void const*)
- 0.00 5.61 0.00 3 0.00 0.00 Polygon::operator=(Polygon const&)
- 0.00 5.61 0.00 2 0.00 5.00 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int)
- 0.00 5.61 0.00 2 0.00 0.00 Zone::~Zone()
- 0.00 5.61 0.00 2 0.00 0.00 Image::Crop(int, int, int, int)
- 0.00 5.61 0.00 2 0.00 5.00 Image::Fill(unsigned int, Polygon const&)
- 0.00 5.61 0.00 2 0.00 0.00 Image::Outline(unsigned int, Polygon const&)
- 0.00 5.61 0.00 2 0.00 0.00 Polygon::calcCentre()
- 0.00 5.61 0.00 2 0.00 0.00 Polygon::Polygon(int, Coord const*)
- 0.00 5.61 0.00 1 0.00 0.00 global constructors keyed to _Z12zmLoadConfigv
- 0.00 5.61 0.00 1 0.00 0.00 global constructors keyed to _ZN10RtspThread13smMinDataPortE
- 0.00 5.61 0.00 1 0.00 0.00 zmDbConnect()
- 0.00 5.61 0.00 1 0.00 0.00 zmLoadConfig()
- 0.00 5.61 0.00 1 0.00 0.00 sse2_fastblend(unsigned char const*, unsigned char const*, unsigned char*, unsigned long, double)
- 0.00 5.61 0.00 1 0.00 0.00 zmSetDieHandler(void (*)(int))
- 0.00 5.61 0.00 1 0.00 0.00 zmSetTermHandler(void (*)(int))
- 0.00 5.61 0.00 1 0.00 0.00 zmSetDefaultDieHandler()
- 0.00 5.61 0.00 1 0.00 0.00 zmSetDefaultTermHandler()
- 0.00 5.61 0.00 1 0.00 0.00 ssedetect()
- 0.00 5.61 0.00 1 0.00 0.00 AllocBuffer(unsigned int)
- 0.00 5.61 0.00 1 0.00 0.00 getFfPixFormatFromV4lPalette(int, int)
- 0.00 5.61 0.00 1 0.00 0.00 LocalCamera::Initialise()
- 0.00 5.61 0.00 1 0.00 0.00 LocalCamera::Terminate()
- 0.00 5.61 0.00 1 0.00 0.00 LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool)
- 0.00 5.61 0.00 1 0.00 0.00 LocalCamera::~LocalCamera()
- 0.00 5.61 0.00 1 0.00 0.00 StaticConfig::~StaticConfig()
- 0.00 5.61 0.00 1 0.00 0.00 Zone::ParsePolygonString(char const*, Polygon&)
- 0.00 5.61 0.00 1 0.00 5.00 Zone::Load(Monitor*, Zone**&)
- 0.00 5.61 0.00 1 0.00 0.00 Image::Initialise()
- 0.00 5.61 0.00 1 0.00 0.00 Image::AssignDirect(int, int, int, int, unsigned char*, unsigned int, int)
- 0.00 5.61 0.00 1 0.00 0.00 Image::DumpImgBuffer()
- 0.00 5.61 0.00 1 0.00 0.00 Camera::Camera(int, Camera::SourceType, int, int, int, int, int, int, int, int, bool)
- 0.00 5.61 0.00 1 0.00 0.00 Camera::~Camera()
- 0.00 5.61 0.00 1 0.00 0.00 Config::Load()
- 0.00 5.61 0.00 1 0.00 0.00 Config::Assign()
- 0.00 5.61 0.00 1 0.00 0.00 Config::~Config()
- 0.00 5.61 0.00 1 0.00 10.00 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose)
- 0.00 5.61 0.00 1 0.00 5.00 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**)
- 0.00 5.61 0.00 1 0.00 0.00 Monitor::~Monitor()
- 0.00 5.61 0.00 1 0.00 0.00 std::set<int, std::less<int>, std::allocator<int> >::~set()
- 0.00 5.61 0.00 1 0.00 0.00 std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*)
- 0.00 5.61 0.00 1 0.00 0.00 zmDbgInit
- 0.00 5.61 0.00 1 0.00 0.00 zmDebugInitialise
- 0.00 5.61 0.00 1 0.00 0.00 zmDebugPrepareLog
- 0.00 5.61 0.00 1 0.00 0.00 zmGetDebugEnv
- % 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.
- Call graph (explanation follows)
- granularity: each sample hit covers 2 byte(s) for 0.18% of 5.61 seconds
- index % time self children called name
- <spontaneous>
- [1] 84.9 4.77 0.00 sse2copy_begin [1]
- -----------------------------------------------
- <spontaneous>
- [2] 6.9 0.00 0.39 __libc_start_main [2]
- 0.01 0.38 1/1 main [3]
- -----------------------------------------------
- 0.01 0.38 1/1 __libc_start_main [2]
- [3] 6.9 0.01 0.38 1 main [3]
- 0.00 0.31 10887/10887 Monitor::Capture() [4]
- 0.03 0.00 10887/10887 LocalCamera::PostCapture() [12]
- 0.02 0.00 10886/10886 Monitor::GetState() const [15]
- 0.02 0.00 1/1 LocalCamera::PrimeCapture() [19]
- 0.00 0.01 1/1 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- 0.00 0.00 10887/10887 LocalCamera::PreCapture() [12140]
- 0.00 0.00 1/1 zmDbgInit [40]
- 0.00 0.00 1/1 ssedetect() [12167]
- 0.00 0.00 1/1 zmLoadConfig() [12161]
- 0.00 0.00 1/19 zmDbgOutput [39]
- 0.00 0.00 1/1 zmSetDefaultTermHandler() [12166]
- 0.00 0.00 1/1 zmSetDefaultDieHandler() [12165]
- 0.00 0.00 1/54 Image::~Image() [12149]
- 0.00 0.00 1/1 Monitor::~Monitor() [12184]
- -----------------------------------------------
- 0.00 0.31 10887/10887 main [3]
- [4] 5.4 0.00 0.31 10887 Monitor::Capture() [4]
- 0.00 0.28 10887/10887 Monitor::TimestampImage(Image*, timeval const*) const [6]
- 0.01 0.02 10887/10887 LocalCamera::Capture(Image&) [13]
- 0.00 0.00 10887/10887 Monitor::CheckSignal(Image const*) [12142]
- 0.00 0.00 10/19 zmDbgOutput [39]
- -----------------------------------------------
- 0.28 0.00 10887/10887 Monitor::TimestampImage(Image*, timeval const*) const [6]
- [5] 5.0 0.28 0.00 10887 Image::Annotate(char const*, Coord const&, unsigned int, unsigned int) [5]
- -----------------------------------------------
- 0.00 0.28 10887/10887 Monitor::Capture() [4]
- [6] 5.0 0.00 0.28 10887 Monitor::TimestampImage(Image*, timeval const*) const [6]
- 0.28 0.00 10887/10887 Image::Annotate(char const*, Coord const&, unsigned int, unsigned int) [5]
- -----------------------------------------------
- <spontaneous>
- [7] 1.6 0.09 0.00 memset [7]
- -----------------------------------------------
- <spontaneous>
- [8] 1.1 0.06 0.00 strncpy [8]
- -----------------------------------------------
- <spontaneous>
- [9] 0.9 0.05 0.00 __strftime_internal [9]
- -----------------------------------------------
- <spontaneous>
- [10] 0.7 0.04 0.00 ftruncate64 [10]
- -----------------------------------------------
- <spontaneous>
- [11] 0.5 0.03 0.00 __tzstring [11]
- -----------------------------------------------
- 0.03 0.00 10887/10887 main [3]
- [12] 0.4 0.03 0.00 10887 LocalCamera::PostCapture() [12]
- -----------------------------------------------
- 0.01 0.02 10887/10887 Monitor::Capture() [4]
- [13] 0.4 0.01 0.02 10887 LocalCamera::Capture(Image&) [13]
- 0.02 0.00 10887/10887 sse2_aligned_memcpy(void*, void const*, unsigned int) [18]
- 0.00 0.00 10887/10887 Image::Assign(int, int, int, int, unsigned char const*, unsigned int) [12141]
- -----------------------------------------------
- <spontaneous>
- [14] 0.4 0.02 0.00 random [14]
- -----------------------------------------------
- 0.02 0.00 10886/10886 main [3]
- [15] 0.4 0.02 0.00 10886 Monitor::GetState() const [15]
- -----------------------------------------------
- <spontaneous>
- [16] 0.4 0.02 0.00 __tz_convert [16]
- -----------------------------------------------
- <spontaneous>
- [17] 0.4 0.02 0.00 __tzfile_compute [17]
- -----------------------------------------------
- 0.02 0.00 10887/10887 LocalCamera::Capture(Image&) [13]
- [18] 0.3 0.02 0.00 10887 sse2_aligned_memcpy(void*, void const*, unsigned int) [18]
- -----------------------------------------------
- 0.02 0.00 1/1 main [3]
- [19] 0.3 0.02 0.00 1 LocalCamera::PrimeCapture() [19]
- 0.00 0.00 1/1 LocalCamera::Initialise() [12170]
- -----------------------------------------------
- <spontaneous>
- [20] 0.2 0.01 0.00 cfree [20]
- -----------------------------------------------
- <spontaneous>
- [21] 0.2 0.01 0.00 gettimeofday [21]
- -----------------------------------------------
- <spontaneous>
- [22] 0.2 0.01 0.00 malloc [22]
- -----------------------------------------------
- <spontaneous>
- [23] 0.2 0.01 0.00 memcpy [23]
- -----------------------------------------------
- <spontaneous>
- [24] 0.2 0.01 0.00 strchrnul [24]
- -----------------------------------------------
- <spontaneous>
- [25] 0.2 0.01 0.00 strcspn [25]
- -----------------------------------------------
- <spontaneous>
- [26] 0.2 0.01 0.00 strdup [26]
- -----------------------------------------------
- <spontaneous>
- [27] 0.2 0.01 0.00 strerror_r [27]
- -----------------------------------------------
- <spontaneous>
- [28] 0.2 0.01 0.00 strftime_l [28]
- -----------------------------------------------
- <spontaneous>
- [29] 0.2 0.01 0.00 strlen [29]
- -----------------------------------------------
- <spontaneous>
- [30] 0.2 0.01 0.00 vfprintf [30]
- -----------------------------------------------
- 0.00 0.01 1/2 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- 0.00 0.01 1/2 Zone::Load(Monitor*, Zone**&) [37]
- [31] 0.2 0.00 0.01 2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- 0.00 0.01 2/2 Image::Fill(unsigned int, Polygon const&) [32]
- 0.00 0.00 2/3 Polygon::operator=(Polygon const&) [12152]
- 0.00 0.00 2/54 Image::Image(int, int, int, int, unsigned char*) [12148]
- 0.00 0.00 2/2 Image::Outline(unsigned int, Polygon const&) [12155]
- 0.00 0.00 2/2 Image::Crop(int, int, int, int) [12154]
- -----------------------------------------------
- 0.00 0.01 2/2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- [32] 0.2 0.00 0.01 2 Image::Fill(unsigned int, Polygon const&) [32]
- 0.01 0.00 2/2 Image::Fill(unsigned int, int, Polygon const&) [33]
- -----------------------------------------------
- 0.01 0.00 2/2 Image::Fill(unsigned int, Polygon const&) [32]
- [33] 0.2 0.01 0.00 2 Image::Fill(unsigned int, int, Polygon const&) [33]
- -----------------------------------------------
- 0.00 0.01 1/1 main [3]
- [34] 0.2 0.00 0.01 1 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- 0.00 0.01 1/1 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- 0.00 0.01 1/1 Zone::Load(Monitor*, Zone**&) [37]
- 0.00 0.00 1/1 LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool) [12172]
- 0.00 0.00 1/2 Zone::~Zone() [12153]
- -----------------------------------------------
- <spontaneous>
- [35] 0.2 0.01 0.00 _i18n_number_rewrite [35]
- -----------------------------------------------
- <spontaneous>
- [36] 0.2 0.01 0.00 _int_free [36]
- -----------------------------------------------
- 0.00 0.01 1/1 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- [37] 0.1 0.00 0.01 1 Zone::Load(Monitor*, Zone**&) [37]
- 0.00 0.01 1/2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- 0.00 0.00 1/1 Zone::ParsePolygonString(char const*, Polygon&) [12175]
- -----------------------------------------------
- 0.00 0.01 1/1 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- [38] 0.1 0.00 0.01 1 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- 0.00 0.01 1/2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- 0.00 0.00 52/54 Image::Image(int, int, int, int, unsigned char*) [12148]
- 0.00 0.00 1/2 Polygon::calcCentre() [12156]
- 0.00 0.00 1/2 Polygon::Polygon(int, Coord const*) [12157]
- -----------------------------------------------
- 0.00 0.00 1/19 main [3]
- 0.00 0.00 1/19 zmDebugInitialise [41]
- 0.00 0.00 1/19 zm_term_handler(int) [12707]
- 0.00 0.00 6/19 LocalCamera::Initialise() [12170]
- 0.00 0.00 10/19 Monitor::Capture() [4]
- [39] 0.0 0.00 0.00 19 zmDbgOutput [39]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [40] 0.0 0.00 0.00 1 zmDbgInit [40]
- 0.00 0.00 1/1 zmDebugInitialise [41]
- -----------------------------------------------
- 0.00 0.00 1/1 zmDbgInit [40]
- [41] 0.0 0.00 0.00 1 zmDebugInitialise [41]
- 0.00 0.00 1/1 zmGetDebugEnv [43]
- 0.00 0.00 1/1 zmDebugPrepareLog [42]
- 0.00 0.00 1/19 zmDbgOutput [39]
- -----------------------------------------------
- 0.00 0.00 1/1 zmDebugInitialise [41]
- [42] 0.0 0.00 0.00 1 zmDebugPrepareLog [42]
- -----------------------------------------------
- 0.00 0.00 1/1 zmDebugInitialise [41]
- [43] 0.0 0.00 0.00 1 zmGetDebugEnv [43]
- -----------------------------------------------
- 0.00 0.00 10887/10887 main [3]
- [12140 0.0 0.00 0.00 10887 LocalCamera::PreCapture() [12140]
- -----------------------------------------------
- 0.00 0.00 10887/10887 LocalCamera::Capture(Image&) [13]
- [12141 0.0 0.00 0.00 10887 Image::Assign(int, int, int, int, unsigned char const*, unsigned int) [12141]
- -----------------------------------------------
- 0.00 0.00 10887/10887 Monitor::Capture() [4]
- [12142 0.0 0.00 0.00 10887 Monitor::CheckSignal(Image const*) [12142]
- -----------------------------------------------
- 0.00 0.00 488/488 msort_with_tmp [8508]
- [12143 0.0 0.00 0.00 488 Image::Edge::CompareX(void const*, void const*) [12143]
- -----------------------------------------------
- 0.00 0.00 197/197 Config::Load() [12181]
- [12144 0.0 0.00 0.00 197 ConfigItem::ConfigItem(char const*, char const*, char const*) [12144]
- -----------------------------------------------
- 0.00 0.00 197/197 Config::Assign() [12182]
- [12145 0.0 0.00 0.00 197 Config::Item(int) [12145]
- -----------------------------------------------
- 0.00 0.00 64/197 ConfigItem::StringValue() const [12147]
- 0.00 0.00 133/197 Config::Assign() [12182]
- [12146 0.0 0.00 0.00 197 ConfigItem::ConvertValue() const [12146]
- -----------------------------------------------
- 0.00 0.00 64/64 Config::Assign() [12182]
- [12147 0.0 0.00 0.00 64 ConfigItem::StringValue() const [12147]
- 0.00 0.00 64/197 ConfigItem::ConvertValue() const [12146]
- -----------------------------------------------
- 0.00 0.00 2/54 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- 0.00 0.00 52/54 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- [12148 0.0 0.00 0.00 54 Image::Image(int, int, int, int, unsigned char*) [12148]
- 0.00 0.00 4/4 Image::AllocImgBuffer(unsigned int) [12150]
- 0.00 0.00 1/1 Image::Initialise() [12176]
- -----------------------------------------------
- 0.00 0.00 1/54 main [3]
- 0.00 0.00 2/54 Zone::~Zone() [12153]
- 0.00 0.00 51/54 Monitor::~Monitor() [12184]
- [12149 0.0 0.00 0.00 54 Image::~Image() [12149]
- -----------------------------------------------
- 0.00 0.00 4/4 Image::Image(int, int, int, int, unsigned char*) [12148]
- [12150 0.0 0.00 0.00 4 Image::AllocImgBuffer(unsigned int) [12150]
- -----------------------------------------------
- 0.00 0.00 4/4 msort_with_tmp [8508]
- [12151 0.0 0.00 0.00 4 Image::Edge::CompareYX(void const*, void const*) [12151]
- -----------------------------------------------
- 0.00 0.00 1/3 Zone::ParsePolygonString(char const*, Polygon&) [12175]
- 0.00 0.00 2/3 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- [12152 0.0 0.00 0.00 3 Polygon::operator=(Polygon const&) [12152]
- -----------------------------------------------
- 0.00 0.00 1/2 Monitor::~Monitor() [12184]
- 0.00 0.00 1/2 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- [12153 0.0 0.00 0.00 2 Zone::~Zone() [12153]
- 0.00 0.00 2/54 Image::~Image() [12149]
- -----------------------------------------------
- 0.00 0.00 2/2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- [12154 0.0 0.00 0.00 2 Image::Crop(int, int, int, int) [12154]
- 0.00 0.00 1/1 AllocBuffer(unsigned int) [12168]
- 0.00 0.00 1/1 Image::AssignDirect(int, int, int, int, unsigned char*, unsigned int, int) [12177]
- -----------------------------------------------
- 0.00 0.00 2/2 Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [31]
- [12155 0.0 0.00 0.00 2 Image::Outline(unsigned int, Polygon const&) [12155]
- -----------------------------------------------
- 0.00 0.00 1/2 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- 0.00 0.00 1/2 Zone::ParsePolygonString(char const*, Polygon&) [12175]
- [12156 0.0 0.00 0.00 2 Polygon::calcCentre() [12156]
- -----------------------------------------------
- 0.00 0.00 1/2 Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [38]
- 0.00 0.00 1/2 Zone::ParsePolygonString(char const*, Polygon&) [12175]
- [12157 0.0 0.00 0.00 2 Polygon::Polygon(int, Coord const*) [12157]
- -----------------------------------------------
- 0.00 0.00 1/1 _dl_fixup [14002]
- [12158 0.0 0.00 0.00 1 global constructors keyed to _Z12zmLoadConfigv [12158]
- -----------------------------------------------
- 0.00 0.00 1/1 _dl_fixup [14002]
- [12159 0.0 0.00 0.00 1 global constructors keyed to _ZN10RtspThread13smMinDataPortE [12159]
- -----------------------------------------------
- 0.00 0.00 1/1 zmLoadConfig() [12161]
- [12160 0.0 0.00 0.00 1 zmDbConnect() [12160]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [12161 0.0 0.00 0.00 1 zmLoadConfig() [12161]
- 0.00 0.00 1/1 zmDbConnect() [12160]
- 0.00 0.00 1/1 Config::Load() [12181]
- 0.00 0.00 1/1 Config::Assign() [12182]
- -----------------------------------------------
- 0.00 0.00 1/1 Image::Initialise() [12176]
- [12162 0.0 0.00 0.00 1 sse2_fastblend(unsigned char const*, unsigned char const*, unsigned char*, unsigned long, double) [12162]
- -----------------------------------------------
- 0.00 0.00 1/1 zmSetDefaultDieHandler() [12165]
- [12163 0.0 0.00 0.00 1 zmSetDieHandler(void (*)(int)) [12163]
- -----------------------------------------------
- 0.00 0.00 1/1 zmSetDefaultTermHandler() [12166]
- [12164 0.0 0.00 0.00 1 zmSetTermHandler(void (*)(int)) [12164]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [12165 0.0 0.00 0.00 1 zmSetDefaultDieHandler() [12165]
- 0.00 0.00 1/1 zmSetDieHandler(void (*)(int)) [12163]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [12166 0.0 0.00 0.00 1 zmSetDefaultTermHandler() [12166]
- 0.00 0.00 1/1 zmSetTermHandler(void (*)(int)) [12164]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [12167 0.0 0.00 0.00 1 ssedetect() [12167]
- -----------------------------------------------
- 0.00 0.00 1/1 Image::Crop(int, int, int, int) [12154]
- [12168 0.0 0.00 0.00 1 AllocBuffer(unsigned int) [12168]
- -----------------------------------------------
- 0.00 0.00 1/1 LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool) [12172]
- [12169 0.0 0.00 0.00 1 getFfPixFormatFromV4lPalette(int, int) [12169]
- -----------------------------------------------
- 0.00 0.00 1/1 LocalCamera::PrimeCapture() [19]
- [12170 0.0 0.00 0.00 1 LocalCamera::Initialise() [12170]
- 0.00 0.00 6/19 zmDbgOutput [39]
- -----------------------------------------------
- 0.00 0.00 1/1 LocalCamera::~LocalCamera() [12173]
- [12171 0.0 0.00 0.00 1 LocalCamera::Terminate() [12171]
- -----------------------------------------------
- 0.00 0.00 1/1 Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [34]
- [12172 0.0 0.00 0.00 1 LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool) [12172]
- 0.00 0.00 1/1 Camera::Camera(int, Camera::SourceType, int, int, int, int, int, int, int, int, bool) [12179]
- 0.00 0.00 1/1 getFfPixFormatFromV4lPalette(int, int) [12169]
- -----------------------------------------------
- 0.00 0.00 1/1 Monitor::~Monitor() [12184]
- [12173 0.0 0.00 0.00 1 LocalCamera::~LocalCamera() [12173]
- 0.00 0.00 1/1 Camera::~Camera() [12180]
- 0.00 0.00 1/1 LocalCamera::Terminate() [12171]
- -----------------------------------------------
- 0.00 0.00 1/1 __run_exit_handlers [13927]
- [12174 0.0 0.00 0.00 1 StaticConfig::~StaticConfig() [12174]
- -----------------------------------------------
- 0.00 0.00 1/1 Zone::Load(Monitor*, Zone**&) [37]
- [12175 0.0 0.00 0.00 1 Zone::ParsePolygonString(char const*, Polygon&) [12175]
- 0.00 0.00 1/2 Polygon::calcCentre() [12156]
- 0.00 0.00 1/2 Polygon::Polygon(int, Coord const*) [12157]
- 0.00 0.00 1/3 Polygon::operator=(Polygon const&) [12152]
- -----------------------------------------------
- 0.00 0.00 1/1 Image::Image(int, int, int, int, unsigned char*) [12148]
- [12176 0.0 0.00 0.00 1 Image::Initialise() [12176]
- 0.00 0.00 1/1 sse2_fastblend(unsigned char const*, unsigned char const*, unsigned char*, unsigned long, double) [12162]
- -----------------------------------------------
- 0.00 0.00 1/1 Image::Crop(int, int, int, int) [12154]
- [12177 0.0 0.00 0.00 1 Image::AssignDirect(int, int, int, int, unsigned char*, unsigned int, int) [12177]
- 0.00 0.00 1/1 Image::DumpImgBuffer() [12178]
- -----------------------------------------------
- 0.00 0.00 1/1 Image::AssignDirect(int, int, int, int, unsigned char*, unsigned int, int) [12177]
- [12178 0.0 0.00 0.00 1 Image::DumpImgBuffer() [12178]
- -----------------------------------------------
- 0.00 0.00 1/1 LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool) [12172]
- [12179 0.0 0.00 0.00 1 Camera::Camera(int, Camera::SourceType, int, int, int, int, int, int, int, int, bool) [12179]
- -----------------------------------------------
- 0.00 0.00 1/1 LocalCamera::~LocalCamera() [12173]
- [12180 0.0 0.00 0.00 1 Camera::~Camera() [12180]
- -----------------------------------------------
- 0.00 0.00 1/1 zmLoadConfig() [12161]
- [12181 0.0 0.00 0.00 1 Config::Load() [12181]
- 0.00 0.00 197/197 ConfigItem::ConfigItem(char const*, char const*, char const*) [12144]
- -----------------------------------------------
- 0.00 0.00 1/1 zmLoadConfig() [12161]
- [12182 0.0 0.00 0.00 1 Config::Assign() [12182]
- 0.00 0.00 197/197 Config::Item(int) [12145]
- 0.00 0.00 133/197 ConfigItem::ConvertValue() const [12146]
- 0.00 0.00 64/64 ConfigItem::StringValue() const [12147]
- -----------------------------------------------
- 0.00 0.00 1/1 __run_exit_handlers [13927]
- [12183 0.0 0.00 0.00 1 Config::~Config() [12183]
- -----------------------------------------------
- 0.00 0.00 1/1 main [3]
- [12184 0.0 0.00 0.00 1 Monitor::~Monitor() [12184]
- 0.00 0.00 51/54 Image::~Image() [12149]
- 0.00 0.00 1/2 Zone::~Zone() [12153]
- 0.00 0.00 1/1 LocalCamera::~LocalCamera() [12173]
- -----------------------------------------------
- 0.00 0.00 1/1 __run_exit_handlers [13927]
- [12185 0.0 0.00 0.00 1 std::set<int, std::less<int>, std::allocator<int> >::~set() [12185]
- 0.00 0.00 1/1 std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*) [12186]
- -----------------------------------------------
- 0.00 0.00 1/1 std::set<int, std::less<int>, std::allocator<int> >::~set() [12185]
- [12186 0.0 0.00 0.00 1 std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*) [12186]
- -----------------------------------------------
- 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 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.
- Index by function name
- [12158] global constructors keyed to _Z12zmLoadConfigv (zm_config.cpp) [12150] Image::AllocImgBuffer(unsigned int) [12186] std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*)
- [12159] global constructors keyed to _ZN10RtspThread13smMinDataPortE (zm_rtsp.cpp) [12154] Image::Crop(int, int, int, int) [9] __strftime_internal
- [12160] zmDbConnect() [12143] Image::Edge::CompareX(void const*, void const*) [16] __tz_convert
- [12161] zmLoadConfig() [12151] Image::Edge::CompareYX(void const*, void const*) [17] __tzfile_compute
- [12162] sse2_fastblend(unsigned char const*, unsigned char const*, unsigned char*, unsigned long, double) [32] Image::Fill(unsigned int, Polygon const&) [11] __tzstring
- [12163] zmSetDieHandler(void (*)(int)) [33] Image::Fill(unsigned int, int, Polygon const&) [35] _i18n_number_rewrite
- [12164] zmSetTermHandler(void (*)(int)) [12141] Image::Assign(int, int, int, int, unsigned char const*, unsigned int) [36] _int_free
- [18] sse2_aligned_memcpy(void*, void const*, unsigned int) [12155] Image::Outline(unsigned int, Polygon const&) [20] cfree
- [12165] zmSetDefaultDieHandler() [5] Image::Annotate(char const*, Coord const&, unsigned int, unsigned int) [10] ftruncate64
- [12166] zmSetDefaultTermHandler() [12148] Image::Image(int, int, int, int, unsigned char*) [21] gettimeofday
- [12167] ssedetect() [12149] Image::~Image() [3] main
- [12168] AllocBuffer(unsigned int) (zm_image.h) [12179] Camera::Camera(int, Camera::SourceType, int, int, int, int, int, int, int, int, bool) [22] malloc
- [12169] getFfPixFormatFromV4lPalette(int, int) (zm_local_camera.cpp) [12180] Camera::~Camera() [23] memcpy
- [12144] ConfigItem::ConfigItem(char const*, char const*, char const*) [12145] Config::Item(int) [7] memset
- [12170] LocalCamera::Initialise() [12181] Config::Load() [14] random
- [12140] LocalCamera::PreCapture() [12182] Config::Assign() [1] sse2copy_begin (zm_utils.cpp)
- [12] LocalCamera::PostCapture() [12183] Config::~Config() [24] strchrnul
- [19] LocalCamera::PrimeCapture() [12142] Monitor::CheckSignal(Image const*) [25] strcspn
- [13] LocalCamera::Capture(Image&) [34] Monitor::LoadLocalMonitors(char const*, Monitor**&, Monitor::Purpose) [26] strdup
- [12171] LocalCamera::Terminate() [4] Monitor::Capture() [27] strerror_r
- [12172] LocalCamera::LocalCamera(int, std::string const&, int, int, std::string const&, int, int, int, int, int, int, int, int, bool) [38] Monitor::Monitor(int, char const*, int, bool, char const*, Camera*, int, char const*, char const*, Coord const&, int, int, int, int, int, int, int, int, int, int, int, int, bool, unsigned int, Monitor::Purpose, int, Zone**) [28] strftime_l
- [12173] LocalCamera::~LocalCamera() [12184] Monitor::~Monitor() [29] strlen
- [12174] StaticConfig::~StaticConfig() [12156] Polygon::calcCentre() [8] strncpy
- [12175] Zone::ParsePolygonString(char const*, Polygon&) [12157] Polygon::Polygon(int, Coord const*) [30] vfprintf
- [37] Zone::Load(Monitor*, Zone**&) [12152] Polygon::operator=(Polygon const&) [40] zmDbgInit
- [31] Zone::Setup(Monitor*, int, char const*, Zone::ZoneType, Polygon const&, unsigned int, Zone::CheckMethod, int, int, int, int, Coord const&, int, int, int, int, int, int, int) [12147] ConfigItem::StringValue() const [39] zmDbgOutput
- [12153] Zone::~Zone() [12146] ConfigItem::ConvertValue() const [41] zmDebugInitialise
- [12176] Image::Initialise() [6] Monitor::TimestampImage(Image*, timeval const*) const [42] zmDebugPrepareLog
- [12177] Image::AssignDirect(int, int, int, int, unsigned char*, unsigned int, int) [15] Monitor::GetState() const [43] zmGetDebugEnv
- [12178] Image::DumpImgBuffer() [12185] std::set<int, std::less<int>, std::allocator<int> >::~set()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement