[root] / trunk / misc / memstat / inc / TMemStatMng.h Repository:
ViewVC logotype

Log of /trunk/misc/memstat/inc/TMemStatMng.h

Parent Directory Parent Directory


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

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: 4991 byte(s)
Diff to previous 35660
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 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: 4399 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: 4260 byte(s)
Diff to previous 34371
The first step of optimizations: 
   - remove string digests (cost too much)
   - use a simple pre-caching of digests and ids
   - cosmetic changes

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: 3614 byte(s)
Diff to previous 34345
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 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: 3590 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: 3596 byte(s)
Diff to previous 34336
Change pointers type from pointer_t to ULong64_t

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: 3596 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: 3542 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: 3545 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: 3558 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: 3515 byte(s)
Diff to previous 32666
fix a source code alignment according to ROOT's astyle

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: 3516 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