[root] / trunk / misc / memstat / src / TMemStatMng.cxx Repository:
ViewVC logotype

Log of /trunk/misc/memstat/src/TMemStatMng.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 15057 byte(s)
Diff to previous 36990
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 36990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 26 19:44:18 2010 UTC (4 years, 1 month ago) by anar
File length: 15037 byte(s)
Diff to previous 36987
added and code, which dumps the content of MemStat database -- for debugging only

Revision 36987 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 26 18:29:44 2010 UTC (4 years, 1 month ago) by anar
File length: 14130 byte(s)
Diff to previous 36382
store the given mangled name, if it is invalid and can't be de-mangled

Revision 36382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 12:27:40 2010 UTC (4 years, 3 months ago) by brun
File length: 14128 byte(s)
Diff to previous 35722
Add a new control argument to TMemStat
// When TMemStat is active it recors every call to malloc/free in a ROOT Tree.
// You must be careful when running jobs with many millions (or more) of calls
// to malloc/free because the generated Tree may become very large.
// The TMemStat constructor TMemStat(const char* system, Int_t buffersize, Int_t maxcalls)
// has its 3 arguments optional:
//   -system refers to the internal algorithm to compute the back traces.
//    the recommended value is "gnubuiltin"
//   -buffersize is the number of calls to malloc or free that can be stored in one memory buffer.
//    when the buffer is full, the calls to malloc/free pointing to the same location
//    are eliminated and not written to the final Tree. The default value 100000
//    is such that between 50 and 90% of the calls are eliminated depending on the application.
//    You can set buffersize <=1 to keep every single call to malloc/free.
//   -maxcalls can set a limit for the maximum number of calls to be registered in the Tree.
//    The default value is 5000000.
// The 3 arguments can be set  in $ROOTSYS/etc/system.rootrc
//    Root.TMemStat.system      gnubuiltin
//    Root.TMemStat.buffersize  100000
//    Root.TMemStat.maxcalls    5000000

Revision 35722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 19:48:31 2010 UTC (4 years, 4 months ago) by rdm
File length: 11699 byte(s)
Diff to previous 35700
use Info instead of printf.

Revision 35700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 08:22:07 2010 UTC (4 years, 4 months ago) by brun
File length: 11732 byte(s)
Diff to previous 35660
Disable TmemstatMng before writing the tree header

Revision 35660 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 14:02:09 2010 UTC (4 years, 4 months ago) by brun
File length: 11636 byte(s)
Diff to previous 35571
The class TMemStat can now be controlled via system.rootrc by activating
Root.TMemStat 1
This way any existing ROOT application becomes trivial to run instrumented
with TMemStat.

Revision 35571 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 11:47:22 2010 UTC (4 years, 4 months ago) by anar
File length: 11208 byte(s)
Diff to previous 35404
The first step of optimizations: 
   - remove string digests (cost too much)
   - use a simple pre-caching of digests and ids
   - cosmetic changes

Revision 35404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 16:51:11 2010 UTC (4 years, 4 months ago) by brun
File length: 10338 byte(s)
Diff to previous 35244
Initialize all members in constructor. coverity CID11113

Revision 35244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 13:44:47 2010 UTC (4 years, 4 months ago) by brun
File length: 10284 byte(s)
Diff to previous 34430
Initialize a data member in constructor (coverity CID 11113)

Revision 34430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 15 12:53:02 2010 UTC (4 years, 6 months ago) by brun
File length: 10266 byte(s)
Diff to previous 34423
The TObjArray fAddrsList  is now attached to T->GetUserInfo

Revision 34423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 15 08:45:57 2010 UTC (4 years, 6 months ago) by brun
File length: 10077 byte(s)
Diff to previous 34371
In TMemStatMng::Close one must delete the objects in the fDumpTree->GetUserInfo()

Revision 34371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 9 20:41:23 2010 UTC (4 years, 6 months ago) by anar
File length: 10024 byte(s)
Diff to previous 34368
Save a system info to the tree header.
Currently I am saving TNamed with name="SysInfo" and title="<build node info> | <build compiler version> | <debug flags> <opt. flags>"

Revision 34368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 9 18:34:36 2010 UTC (4 years, 6 months ago) by anar
File length: 9589 byte(s)
Diff to previous 34345
memstat's output file name now hase the following form.
"memstat_PID.root", where "PID" is a process ID where TMemStat was called from.

Revision 34345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 7 12:48:59 2010 UTC (4 years, 6 months ago) by brun
File length: 9642 byte(s)
Diff to previous 34344
Pointer conversion to ULong_t and writing to Tree with ULong64_t

Revision 34344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 7 09:57:41 2010 UTC (4 years, 6 months ago) by brun
File length: 9734 byte(s)
Diff to previous 34342
Change pointers type from pointer_t to ULong64_t

Revision 34342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 19:55:42 2010 UTC (4 years, 6 months ago) by anar
File length: 9647 byte(s)
Diff to previous 34341
fixed: unintentionally the GetSize method was used to retrieve a number of elements in TObjArray

Revision 34341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 19:13:54 2010 UTC (4 years, 6 months ago) by anar
File length: 9642 byte(s)
Diff to previous 34340
removed a legacy code

Revision 34340 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 19:10:48 2010 UTC (4 years, 6 months ago) by anar
File length: 9888 byte(s)
Diff to previous 34339
check for symbol's index only once

Revision 34339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 12:14:33 2010 UTC (4 years, 6 months ago) by anar
File length: 9852 byte(s)
Diff to previous 34338
fixed a size_t format specifier

Revision 34338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 10:26:12 2010 UTC (4 years, 6 months ago) by anar
File length: 9716 byte(s)
Diff to previous 34336
fixed a size_t format specifier

Revision 34336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 10:15:33 2010 UTC (4 years, 6 months ago) by anar
File length: 9716 byte(s)
Diff to previous 34333
cosmetic changes

Revision 34333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 08:51:41 2010 UTC (4 years, 6 months ago) by anar
File length: 9503 byte(s)
Diff to previous 32849
Removed a custom implementation of the CRC calculation.
Now use the one provided by ROOT - TMD5.

Revision 32849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 31 11:19:32 2010 UTC (4 years, 9 months ago) by anar
File length: 9516 byte(s)
Diff to previous 32678
cosmetic changes: coding convention and formatting...

Revision 32678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 18 16:32:00 2010 UTC (4 years, 10 months ago) by anar
File length: 8964 byte(s)
Diff to previous 32670
fixed a missing symbol on Mac + cosmetic changes

Revision 32670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 18 10:54:04 2010 UTC (4 years, 10 months ago) by anar
File length: 8930 byte(s)
Diff to previous 32669
fix a source code alignment according to ROOT's astyle

Revision 32669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 18 10:43:51 2010 UTC (4 years, 10 months ago) by anar
File length: 8976 byte(s)
Diff to previous 32666
- added a missing cstdlib header
- fixed warnings of MacOSX builds

Revision 32666 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Mar 18 07:08:15 2010 UTC (4 years, 10 months ago) by rdm
File length: 8950 byte(s)
new memstat module from Anar.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9