mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 16:11:02 +08:00
replace double quotes to angle brackets - fixed #28
This commit is contained in:
parent
6c13b48873
commit
15912970db
@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#ifndef EASY_PROFILER_CURRENT_TIME_H
|
||||
#define EASY_PROFILER_CURRENT_TIME_H
|
||||
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
|
@ -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/>.
|
||||
**/
|
||||
|
||||
#include "easy/easy_socket.h"
|
||||
#include <easy/easy_socket.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <thread>
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <memory.h>
|
||||
#include <chrono>
|
||||
#include <unordered_map>
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
#include "profile_manager.h"
|
||||
#include "current_time.h"
|
||||
|
||||
|
@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#define EASY________SOCKET_________H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
#ifndef _WIN32
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#ifndef EASY_PROFILER_H
|
||||
#define EASY_PROFILER_H
|
||||
|
||||
#include "easy/profiler_aux.h"
|
||||
#include <easy/profiler_aux.h>
|
||||
|
||||
#if defined ( __clang__ )
|
||||
# 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.
|
||||
|
||||
\code
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
void foo()
|
||||
{
|
||||
// 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.
|
||||
|
||||
\code
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
void foo(){
|
||||
EASY_FUNCTION(); // Block with name="foo" and default color
|
||||
//some code...
|
||||
@ -129,7 +129,7 @@ Name of the block automatically created with function name.
|
||||
/** Macro for completion of last opened block.
|
||||
|
||||
\code
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
int foo()
|
||||
{
|
||||
// some code ...
|
||||
|
@ -46,8 +46,9 @@
|
||||
#define EASY_PROFILER_AUX_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>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -39,8 +39,9 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <atomic>
|
||||
#include "easy/profiler.h"
|
||||
#include "easy/serialized_block.h"
|
||||
|
||||
#include <easy/profiler.h>
|
||||
#include <easy/serialized_block.h>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -33,7 +33,7 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#ifndef EASY_PROFILER_SERIALIZED_BLOCK_H
|
||||
#define EASY_PROFILER_SERIALIZED_BLOCK_H
|
||||
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
|
||||
namespace profiler {
|
||||
|
||||
|
@ -41,9 +41,11 @@
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
#include "profile_manager.h"
|
||||
#include "easy/serialized_block.h"
|
||||
#include "easy/easy_net.h"
|
||||
#include "easy/easy_socket.h"
|
||||
|
||||
#include <easy/serialized_block.h>
|
||||
#include <easy/easy_net.h>
|
||||
#include <easy/easy_socket.h>
|
||||
|
||||
#include "event_trace_win.h"
|
||||
#include "current_time.h"
|
||||
|
||||
|
@ -33,11 +33,13 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
|
||||
#ifndef EASY_PROFILER_MANAGER_H
|
||||
#define EASY_PROFILER_MANAGER_H
|
||||
|
||||
#include "easy/profiler.h"
|
||||
#include "easy/easy_socket.h"
|
||||
#include <easy/profiler.h>
|
||||
#include <easy/easy_socket.h>
|
||||
|
||||
#include "spin_lock.h"
|
||||
#include "outstream.h"
|
||||
#include "hashed_cstr.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
|
@ -56,8 +56,10 @@
|
||||
* : 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 <fstream>
|
||||
#include <sstream>
|
||||
#include <iterator>
|
||||
|
@ -55,13 +55,16 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <QGraphicsView>
|
||||
#include <QGraphicsItem>
|
||||
#include <QPoint>
|
||||
#include <QRectF>
|
||||
#include <QTimer>
|
||||
#include <QLabel>
|
||||
#include "easy/reader.h"
|
||||
|
||||
#include <easy/reader.h>
|
||||
|
||||
#include "common_types.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -55,9 +55,11 @@
|
||||
|
||||
#include <QTreeWidget>
|
||||
#include <QTimer>
|
||||
|
||||
#include "tree_widget_loader.h"
|
||||
#include "tree_widget_item.h"
|
||||
#include "easy/reader.h"
|
||||
|
||||
#include <easy/reader.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <QRgb>
|
||||
#include <QString>
|
||||
#include <QFont>
|
||||
#include "easy/reader.h"
|
||||
#include <easy/reader.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -48,9 +48,11 @@
|
||||
|
||||
#include <QTreeWidget>
|
||||
#include <QString>
|
||||
|
||||
#include <vector>
|
||||
#include <unordered_set>
|
||||
#include "easy/profiler.h"
|
||||
|
||||
#include <easy/profiler.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -47,10 +47,13 @@
|
||||
#define EASY_GRAPHICS_ITEM_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QRectF>
|
||||
#include <QString>
|
||||
#include "easy/reader.h"
|
||||
|
||||
#include <easy/reader.h>
|
||||
|
||||
#include "common_types.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define EASY_GLOBALS_QOBJECTS_H
|
||||
|
||||
#include <QObject>
|
||||
#include "easy/profiler.h"
|
||||
#include <easy/profiler.h>
|
||||
|
||||
namespace profiler_gui {
|
||||
|
||||
|
@ -40,11 +40,10 @@
|
||||
|
||||
#include <chrono>
|
||||
#include <QApplication>
|
||||
//#include <QTreeView>
|
||||
//#include <QFileSystemModel>
|
||||
//#include "treemodel.h"
|
||||
|
||||
#include "main_window.h"
|
||||
#include "easy/reader.h"
|
||||
|
||||
#include <easy/reader.h>
|
||||
|
||||
|
||||
#if defined(_WIN32) && defined (_BUILD_RELEASE_)
|
||||
|
@ -87,7 +87,8 @@
|
||||
#include "blocks_graphics_view.h"
|
||||
#include "descriptors_tree_widget.h"
|
||||
#include "globals.h"
|
||||
#include "easy/easy_net.h"
|
||||
|
||||
#include <easy/easy_net.h>
|
||||
|
||||
#ifdef max
|
||||
#undef max
|
||||
|
@ -53,8 +53,8 @@
|
||||
#include <QTimer>
|
||||
#include <QStringList>
|
||||
|
||||
#include "easy/easy_socket.h"
|
||||
#include "easy/reader.h"
|
||||
#include <easy/easy_socket.h>
|
||||
#include <easy/reader.h>
|
||||
|
||||
#ifdef max
|
||||
#undef max
|
||||
|
@ -49,7 +49,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <QTreeWidget>
|
||||
#include "easy/reader.h"
|
||||
#include <easy/reader.h>
|
||||
|
||||
#include "common_types.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -49,10 +49,11 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
//#include <unordered_set>
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
#include "easy/reader.h"
|
||||
|
||||
#include <easy/reader.h>
|
||||
|
||||
#include "common_types.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "easy/profiler.h"
|
||||
#include "easy/reader.h"
|
||||
#include <easy/profiler.h>
|
||||
#include <easy/reader.h>
|
||||
#include <fstream>
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
|
@ -1,14 +1,15 @@
|
||||
//#define FULL_DISABLE_PROFILER
|
||||
#include "easy/profiler.h"
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <condition_variable>
|
||||
#include "easy/reader.h"
|
||||
#include <cstdlib>
|
||||
#include <math.h>
|
||||
|
||||
#include <easy/profiler.h>
|
||||
#include <easy/reader.h>
|
||||
|
||||
std::condition_variable cv;
|
||||
std::mutex cv_m;
|
||||
int g_i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user