#include <stdio.h>
#include <unistd.h>
#include <assert.h>
#include <sys/stat.h>
#include "manalyzer.h"
#include "midasio.h"
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <signal.h>
#include <TSystem.h>
#include "TH1D.h"
#include <map>
#include "TMidasOnline.h"
#include <TGMenu.h>
#include <TGButton.h>
#include <TBrowser.h>
Go to the source code of this file.
|
static void | WaitForAllQueuesEmpty (TAMultithreadHelper *mt) |
|
static void | WaitForAllThreadsShutdown (TAMultithreadHelper *mt) |
|
static void | MtQueueFlowEvent (TAMultithreadHelper *mt, int i, TAFlags *flag, TAFlowEvent *flow, bool wait) |
|
static int | ProcessMidasOnlineOld (const std::vector< std::string > &args, const char *hostname, const char *exptname, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check) |
|
static int | ProcessMidasFiles (const std::vector< std::string > &files, const std::vector< std::string > &args, int num_skip, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check) |
|
static int | ProcessDemoMode (const std::vector< std::string > &args, int num_skip, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check) |
|
static void | help () |
|
static bool | starts_with (const std::string &s, const char *prefix) |
|
int | manalyzer_main (int argc, char *argv[]) |
|
◆ CTRL_CONTINUE
◆ CTRL_NEXT
◆ CTRL_NEXT_FLOW
◆ CTRL_PAUSE
◆ CTRL_QUIT
◆ CTRL_TBROWSER
◆ help()
◆ manalyzer_main()
int manalyzer_main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ MtQueueFlowEvent()
◆ ProcessDemoMode()
static int ProcessDemoMode |
( |
const std::vector< std::string > & |
args, |
|
|
int |
num_skip, |
|
|
int |
num_analyze, |
|
|
TMWriterInterface * |
writer, |
|
|
bool |
multithread, |
|
|
bool |
profiler, |
|
|
int |
queue_interval_check |
|
) |
| |
|
static |
◆ ProcessMidasFiles()
static int ProcessMidasFiles |
( |
const std::vector< std::string > & |
files, |
|
|
const std::vector< std::string > & |
args, |
|
|
int |
num_skip, |
|
|
int |
num_analyze, |
|
|
TMWriterInterface * |
writer, |
|
|
bool |
multithread, |
|
|
bool |
profiler, |
|
|
int |
queue_interval_check |
|
) |
| |
|
static |
◆ ProcessMidasOnlineOld()
static int ProcessMidasOnlineOld |
( |
const std::vector< std::string > & |
args, |
|
|
const char * |
hostname, |
|
|
const char * |
exptname, |
|
|
int |
num_analyze, |
|
|
TMWriterInterface * |
writer, |
|
|
bool |
multithread, |
|
|
bool |
profiler, |
|
|
int |
queue_interval_check |
|
) |
| |
|
static |
◆ starts_with()
static bool starts_with |
( |
const std::string & |
s, |
|
|
const char * |
prefix |
|
) |
| |
|
static |
◆ WaitForAllQueuesEmpty()
◆ WaitForAllThreadsShutdown()
◆ gDefaultMultithreadQueueLength
int gDefaultMultithreadQueueLength = 100 |
|
static |
◆ gDefaultMultithreadWaitEmpty
int gDefaultMultithreadWaitEmpty = 100 |
|
static |
◆ gDefaultMultithreadWaitFull
int gDefaultMultithreadWaitFull = 100 |
|
static |
◆ gEnableShowMem
bool gEnableShowMem = false |
|
static |
◆ gModules
◆ gTrace