0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

replace double quotes to angle brackets - fixed #28

This commit is contained in:
Sergey Yagovtsev 2017-03-05 23:50:38 +03:00
parent 6c13b48873
commit 15912970db
24 changed files with 60 additions and 39 deletions

View File

@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#ifndef EASY_PROFILER_CURRENT_TIME_H #ifndef EASY_PROFILER_CURRENT_TIME_H
#define EASY_PROFILER_CURRENT_TIME_H #define EASY_PROFILER_CURRENT_TIME_H
#include "easy/profiler.h" #include <easy/profiler.h>
#ifdef _WIN32 #ifdef _WIN32
#include <Windows.h> #include <Windows.h>

View File

@ -30,7 +30,7 @@ You should have received a copy of the GNU General Public License
along with this program.If not, see <http://www.gnu.org/licenses/>. along with this program.If not, see <http://www.gnu.org/licenses/>.
**/ **/
#include "easy/easy_socket.h" #include <easy/easy_socket.h>
#include <string.h> #include <string.h>
#include <thread> #include <thread>

View File

@ -50,7 +50,7 @@
#include <memory.h> #include <memory.h>
#include <chrono> #include <chrono>
#include <unordered_map> #include <unordered_map>
#include "easy/profiler.h" #include <easy/profiler.h>
#include "profile_manager.h" #include "profile_manager.h"
#include "current_time.h" #include "current_time.h"

View File

@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#define EASY________SOCKET_________H #define EASY________SOCKET_________H
#include <stdint.h> #include <stdint.h>
#include "easy/profiler.h" #include <easy/profiler.h>
#ifndef _WIN32 #ifndef _WIN32
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#ifndef EASY_PROFILER_H #ifndef EASY_PROFILER_H
#define EASY_PROFILER_H #define EASY_PROFILER_H
#include "easy/profiler_aux.h" #include <easy/profiler_aux.h>
#if defined ( __clang__ ) #if defined ( __clang__ )
# pragma clang diagnostic push # pragma clang diagnostic push
@ -59,7 +59,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
/** Macro for beginning of a block with custom name and color. /** Macro for beginning of a block with custom name and color.
\code \code
#include "easy/profiler.h" #include <easy/profiler.h>
void foo() void foo()
{ {
// some code ... // some code ...
@ -99,7 +99,7 @@ Block will be automatically completed by destructor.
/** Macro for beginning of a block with function name and custom color. /** Macro for beginning of a block with function name and custom color.
\code \code
#include "easy/profiler.h" #include <easy/profiler.h>
void foo(){ void foo(){
EASY_FUNCTION(); // Block with name="foo" and default color EASY_FUNCTION(); // Block with name="foo" and default color
//some code... //some code...
@ -129,7 +129,7 @@ Name of the block automatically created with function name.
/** Macro for completion of last opened block. /** Macro for completion of last opened block.
\code \code
#include "easy/profiler.h" #include <easy/profiler.h>
int foo() int foo()
{ {
// some code ... // some code ...

View File

@ -46,8 +46,9 @@
#define EASY_PROFILER_AUX_H #define EASY_PROFILER_AUX_H
#include <stdint.h> #include <stdint.h>
#include "easy/easy_compiler_support.h"
#include "easy/profiler_colors.h" #include <easy/easy_compiler_support.h>
#include <easy/profiler_colors.h>
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -39,8 +39,9 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#include <vector> #include <vector>
#include <string> #include <string>
#include <atomic> #include <atomic>
#include "easy/profiler.h"
#include "easy/serialized_block.h" #include <easy/profiler.h>
#include <easy/serialized_block.h>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#ifndef EASY_PROFILER_SERIALIZED_BLOCK_H #ifndef EASY_PROFILER_SERIALIZED_BLOCK_H
#define EASY_PROFILER_SERIALIZED_BLOCK_H #define EASY_PROFILER_SERIALIZED_BLOCK_H
#include "easy/profiler.h" #include <easy/profiler.h>
namespace profiler { namespace profiler {

View File

@ -41,9 +41,11 @@
#include <algorithm> #include <algorithm>
#include <fstream> #include <fstream>
#include "profile_manager.h" #include "profile_manager.h"
#include "easy/serialized_block.h"
#include "easy/easy_net.h" #include <easy/serialized_block.h>
#include "easy/easy_socket.h" #include <easy/easy_net.h>
#include <easy/easy_socket.h>
#include "event_trace_win.h" #include "event_trace_win.h"
#include "current_time.h" #include "current_time.h"

View File

@ -33,11 +33,13 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#ifndef EASY_PROFILER_MANAGER_H #ifndef EASY_PROFILER_MANAGER_H
#define EASY_PROFILER_MANAGER_H #define EASY_PROFILER_MANAGER_H
#include "easy/profiler.h" #include <easy/profiler.h>
#include "easy/easy_socket.h" #include <easy/easy_socket.h>
#include "spin_lock.h" #include "spin_lock.h"
#include "outstream.h" #include "outstream.h"
#include "hashed_cstr.h" #include "hashed_cstr.h"
#include <map> #include <map>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>

View File

@ -56,8 +56,10 @@
* : along with this program.If not, see <http://www.gnu.org/licenses/>. * : along with this program.If not, see <http://www.gnu.org/licenses/>.
************************************************************************/ ************************************************************************/
#include "easy/reader.h" #include <easy/reader.h>
#include "hashed_cstr.h" #include "hashed_cstr.h"
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <iterator> #include <iterator>

View File

@ -55,13 +55,16 @@
#include <stdlib.h> #include <stdlib.h>
#include <unordered_set> #include <unordered_set>
#include <QGraphicsView> #include <QGraphicsView>
#include <QGraphicsItem> #include <QGraphicsItem>
#include <QPoint> #include <QPoint>
#include <QRectF> #include <QRectF>
#include <QTimer> #include <QTimer>
#include <QLabel> #include <QLabel>
#include "easy/reader.h"
#include <easy/reader.h>
#include "common_types.h" #include "common_types.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -55,9 +55,11 @@
#include <QTreeWidget> #include <QTreeWidget>
#include <QTimer> #include <QTimer>
#include "tree_widget_loader.h" #include "tree_widget_loader.h"
#include "tree_widget_item.h" #include "tree_widget_item.h"
#include "easy/reader.h"
#include <easy/reader.h>
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -38,7 +38,7 @@
#include <QRgb> #include <QRgb>
#include <QString> #include <QString>
#include <QFont> #include <QFont>
#include "easy/reader.h" #include <easy/reader.h>
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -48,9 +48,11 @@
#include <QTreeWidget> #include <QTreeWidget>
#include <QString> #include <QString>
#include <vector> #include <vector>
#include <unordered_set> #include <unordered_set>
#include "easy/profiler.h"
#include <easy/profiler.h>
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -47,10 +47,13 @@
#define EASY_GRAPHICS_ITEM_H #define EASY_GRAPHICS_ITEM_H
#include <stdlib.h> #include <stdlib.h>
#include <QGraphicsItem> #include <QGraphicsItem>
#include <QRectF> #include <QRectF>
#include <QString> #include <QString>
#include "easy/reader.h"
#include <easy/reader.h>
#include "common_types.h" #include "common_types.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -32,7 +32,7 @@
#define EASY_GLOBALS_QOBJECTS_H #define EASY_GLOBALS_QOBJECTS_H
#include <QObject> #include <QObject>
#include "easy/profiler.h" #include <easy/profiler.h>
namespace profiler_gui { namespace profiler_gui {

View File

@ -40,11 +40,10 @@
#include <chrono> #include <chrono>
#include <QApplication> #include <QApplication>
//#include <QTreeView>
//#include <QFileSystemModel>
//#include "treemodel.h"
#include "main_window.h" #include "main_window.h"
#include "easy/reader.h"
#include <easy/reader.h>
#if defined(_WIN32) && defined (_BUILD_RELEASE_) #if defined(_WIN32) && defined (_BUILD_RELEASE_)

View File

@ -87,7 +87,8 @@
#include "blocks_graphics_view.h" #include "blocks_graphics_view.h"
#include "descriptors_tree_widget.h" #include "descriptors_tree_widget.h"
#include "globals.h" #include "globals.h"
#include "easy/easy_net.h"
#include <easy/easy_net.h>
#ifdef max #ifdef max
#undef max #undef max

View File

@ -53,8 +53,8 @@
#include <QTimer> #include <QTimer>
#include <QStringList> #include <QStringList>
#include "easy/easy_socket.h" #include <easy/easy_socket.h>
#include "easy/reader.h" #include <easy/reader.h>
#ifdef max #ifdef max
#undef max #undef max

View File

@ -49,7 +49,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <QTreeWidget> #include <QTreeWidget>
#include "easy/reader.h" #include <easy/reader.h>
#include "common_types.h" #include "common_types.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -49,10 +49,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <vector> #include <vector>
//#include <unordered_set>
#include <thread> #include <thread>
#include <atomic> #include <atomic>
#include "easy/reader.h"
#include <easy/reader.h>
#include "common_types.h" #include "common_types.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -1,5 +1,5 @@
#include "easy/profiler.h" #include <easy/profiler.h>
#include "easy/reader.h" #include <easy/reader.h>
#include <fstream> #include <fstream>
#include <list> #include <list>
#include <iostream> #include <iostream>

View File

@ -1,14 +1,15 @@
//#define FULL_DISABLE_PROFILER //#define FULL_DISABLE_PROFILER
#include "easy/profiler.h"
#include <chrono> #include <chrono>
#include <thread> #include <thread>
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include <condition_variable> #include <condition_variable>
#include "easy/reader.h"
#include <cstdlib> #include <cstdlib>
#include <math.h> #include <math.h>
#include <easy/profiler.h>
#include <easy/reader.h>
std::condition_variable cv; std::condition_variable cv;
std::mutex cv_m; std::mutex cv_m;
int g_i = 0; int g_i = 0;