Static Value-Flow Analysis
Loading...
Searching...
No Matches
MTAStat.h
Go to the documentation of this file.
1//===- MTAStat.h -- Statistics for MTA-------------//
2//
3// SVF: Static Value-Flow Analysis
4//
5// Copyright (C) <2013-> <Yulei Sui>
6//
7
8// This program is free software: you can redistribute it and/or modify
9// it under the terms of the GNU Affero General Public License as published by
10// the Free Software Foundation, either version 3 of the License, or
11// (at your option) any later version.
12
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU Affero General Public License for more details.
17
18// You should have received a copy of the GNU Affero General Public License
19// along with this program. If not, see <http://www.gnu.org/licenses/>.
20//
21//===----------------------------------------------------------------------===//
22
23/*
24 * MTAStat.h
25 *
26 * Created on: Jun 23, 2015
27 * Author: Yulei Sui, Peng Di
28 */
29
30#ifndef MTASTAT_H_
31#define MTASTAT_H_
32
33#include "Util/PTAStat.h"
34
35namespace SVF
36{
37
38class Instruction;
39class ThreadCallGraph;
40class TCT;
41class MHP;
42class LockAnalysis;
43class MTAAnnotator;
47class MTAStat : public PTAStat
48{
49
50public:
52
60 void performTCTStat(TCT* tct);
62 void performMHPPairStat(MHP* mhp, LockAnalysis* lsa);
64 //void performAnnotationStat(MTAAnnotator* anno);
65
66 double TCTTime;
67 double MHPTime;
69};
70
71} // End namespace SVF
72
73#endif /* MTASTAT_H_ */
Definition MHP.h:46
MTAStat()
Constructor.
Definition MTAStat.h:54
void performTCTStat(TCT *tct)
Statistics for thread creation tree.
Definition MTAStat.cpp:92
void performThreadCallGraphStat(ThreadCallGraph *tcg)
Statistics for thread call graph.
Definition MTAStat.cpp:44
double TCTTime
Statistics for annotation.
Definition MTAStat.h:66
Set< const Instruction * > InstSet
Definition MTAStat.h:51
double AnnotationTime
Definition MTAStat.h:68
double MHPTime
Definition MTAStat.h:67
void performMHPPairStat(MHP *mhp, LockAnalysis *lsa)
Statistics for MHP statement pairs.
Definition MTAStat.cpp:112
for isBitcode
Definition BasicTypes.h:68
llvm::Instruction Instruction
Definition BasicTypes.h:87
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74