TexGen
ShinyOutput.h
Go to the documentation of this file.
1/*
2The zlib/libpng License
3
4Copyright (c) 2007 Aidin Abedi (www.*)
5
6This software is provided 'as-is', without any express or implied warranty. In no event will
7the authors be held liable for any damages arising from the use of this software.
8
9Permission is granted to anyone to use this software for any purpose, including commercial
10applications, and to alter it and redistribute it freely, subject to the following
11restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not claim that
14 you wrote the original software. If you use this software in a product,
15 an acknowledgment in the product documentation would be appreciated but is
16 not required.
17
18 2. Altered source versions must be plainly marked as such, and must not be
19 misrepresented as being the original software.
20
21 3. This notice may not be removed or altered from any source distribution.
22*/
23
24#ifndef SHINY_OUTPUT_H
25#define SHINY_OUTPUT_H
26
27#include "ShinyNode.h"
28#include "ShinyZone.h"
29
30#include <string>
31
32#if SHINY_PROFILER == TRUE
33namespace Shiny {
34
35
36//-----------------------------------------------------------------------------
37
43
46 };
47
48
49//-----------------------------------------------------------------------------
50
51 std::string OutputNodesAsString(const ProfileNode *a_root, uint32_t a_count);
52 std::string OutputZonesAsString(const ProfileZone *a_root, uint32_t a_count);
53
54} // namespace Shiny
55#endif // if SHINY_PROFILER == TRUE
56
57#endif // ifndef SHINY_*_H
std::string OutputNodesAsString(const ProfileNode *a_root, uint32_t a_count)
OUTPUT_WIDTH
Definition: ShinyOutput.h:38
@ OUTPUT_WIDTH_DATA
Definition: ShinyOutput.h:44
@ OUTPUT_WIDTH_TIME
Definition: ShinyOutput.h:40
@ OUTPUT_WIDTH_NAME
Definition: ShinyOutput.h:45
@ OUTPUT_WIDTH_PERC
Definition: ShinyOutput.h:41
@ OUTPUT_WIDTH_HIT
Definition: ShinyOutput.h:39
@ OUTPUT_WIDTH_SUM
Definition: ShinyOutput.h:42
std::string OutputZonesAsString(const ProfileZone *a_root, uint32_t a_count)