Skip to content
Snippets Groups Projects
  1. Feb 05, 2007
  2. Jan 30, 2007
  3. Jan 16, 2007
  4. Jan 10, 2007
  5. Dec 06, 2006
  6. Dec 01, 2006
    • Fons Rademakers's avatar
      From John Marraffino: · 700c3d26
      Fons Rademakers authored
      1.  DispatchSignals(sig)
          Replace call to Abort(-1) with a call to Exit(sig) to
          allow CMSSW to flush buffers, close files and clean up
          after a fatal error.
      
      2.  StackTrace()
          Enlarge string field widths to accommodate long function
          signatures for demangling.
      
          Enable use of GNU script, gstack, if available. Replace
          incorrect sed script in gstack. Modified gstack is available
          as $ROOTSYS/etc/gdb-backtrace.sh.
      
          Increase sizes of buffers for calls to and responses from
          the addr2line and cppfilt functions.
      
          The addr2line function doesn't know about paths so every
          library or executable name passed to it must include a full
          path. This is automatic for shared libraries. On the other
          hand, for main programs specified without a path, send
          `which main` and let the shell expand the name for us.
      
          For shared libraries, addr2line wants an offset into the
          file.  For main programs, it wants the absolute virtual
          address. Distinguish between these two cases and send
          the correct address.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17026 27541ba8-7e3a-0410-8455-c3a389f83636
      700c3d26
  7. Nov 27, 2006
  8. Nov 16, 2006
  9. Nov 15, 2006
  10. Nov 02, 2006
  11. Nov 01, 2006
  12. Oct 24, 2006
  13. Oct 23, 2006
    • Fons Rademakers's avatar
      implement TUnixSystem::GetSysInfo(), GetCpuInfo(), GetMemInfo() and · 74ed0292
      Fons Rademakers authored
      GetProcInfo() for Linux.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16604 27541ba8-7e3a-0410-8455-c3a389f83636
      74ed0292
    • Fons Rademakers's avatar
      New system, CPU, memory and process info interfaces. There are 4 new methods: · 3da01ddc
      Fons Rademakers authored
         SysInfo_t  *TSystem::GetSysInfo() const
         CpuInfo_t  *TSystem::GetCpuInfo() const
         MemInfo_t  *TSystem::GetMemInfo() const
         ProcInfo_t *TSystem::GetProcInfo() const
      
      The SysInfo_t contains static system information:
      
      struct SysInfo_t {
         TString   fOS;          // OS
         TString   fModel;       // computer model
         TString   fCpuType;     // type of cpu
         Int_t     fCpus;        // number of cpus
         Int_t     fCpuSpeed;    // cpu speed in MHz
         Int_t     fBusSpeed;    // bus speed in MHz
         Int_t     fL2Cache;     // level 2 cache size in KB
         Int_t     fPhysRam;     // physical RAM in MB
      };
      
      The CpuInfo_t contains global machine CPU load information:
      
      struct CpuInfo_t {
         Float_t   fLoad1m;      // cpu load average over 1 m
         Float_t   fLoad5m;      // cpu load average over 5 m
         Float_t   fLoad15m;     // cpu load average over 15 m
         Float_t   fUser;        // cpu user load in percentage
         Float_t   fSys;         // cpu sys load in percentage
         Float_t   fTotal;       // cpu user+sys load in percentage
         Float_t   fIdle;        // cpu idle percentage
      };
      
      The MemInfo_t contains global machine memory and swap information:
      
      struct MemInfo_t {
         Int_t     fMemTotal;    // total RAM in MB
         Int_t     fMemUsed;     // used RAM in MB
         Int_t     fMemFree;     // free RAM in MB
         Int_t     fSwapTotal;   // total swap in MB
         Int_t     fSwapUsed;    // used swap in MB
         Int_t     fSwapFree;    // free swap in MB
      };
      
      The ProcInfo_t contains current process information:
      
      struct ProcInfo_t {
         Float_t   fCpuUser;     // user time used by this process in seconds
         Float_t   fCpuSys;      // system time used by this process in seconds
         Long_t    fMemResident; // resident memory used by this process in KB
         Long_t    fMemVirtual;  // virtual memory used by this process in KB
      };
      
      This first check-in provides only an implementation for Mac OS X. The Linux
      and Win32 versions are coming tomorrow.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16600 27541ba8-7e3a-0410-8455-c3a389f83636
      3da01ddc
  14. Oct 20, 2006
  15. Oct 17, 2006
  16. Oct 07, 2006
    • Fons Rademakers's avatar
      From Gerri: · 70eb7da2
      Fons Rademakers authored
      This is an optimization in TXNetSystem to avoid recording (and looping over)
      too many helpers in TSystem::fHelper.
      
      After this change, only the helper to the redirector is recorded, and the right
      connection is searched inside.
      
      Also added:
      - an implementation of Unlink, which is useful to delete files on the cluster
        (activation of helper search in TUnixSystem::Unlink and TWinNTSystem::Unlink)
        Does not work (yet) with dirs, but this is a server side problem; Andy aware.
      - a bit in EFileModeMask to flag 'offline' files, i.e. files existing but
        (temporarly) not available ... xrootd has the concept, for files to be
        staged, for example; the bit 0110000 was unused and it did fit, conceptually.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16473 27541ba8-7e3a-0410-8455-c3a389f83636
      70eb7da2
  17. Oct 03, 2006
  18. Sep 04, 2006
    • Fons Rademakers's avatar
      From Gerri and me: · 601670e3
      Fons Rademakers authored
      - don't use TUrl to strip off "file:" protocol string from file names
        as this was also striping off everything after # and ? tokens, making
        it impossible to e.g. stat local file names like .#bla#.
      - make copy ctor and assignment operator private and not implemented.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16198 27541ba8-7e3a-0410-8455-c3a389f83636
      601670e3
  19. Aug 31, 2006
  20. Aug 09, 2006
  21. Jul 04, 2006
    • Rene Brun's avatar
      From Axel: · d3e9f54c
      Rene Brun authored
      Implementing ConcatFileName and Which to not return a new char[]
      to be deleted by the user, but operate on an existing TString.
      because of backward compatibility issues I had to introduce new function
      names.
      
         Which(...const char*,...) -> FindFile(...TString&,...)
         ConcatFileName(...const char*,...) -> PrependPath(...TString&,...)
      
      The existing Which and ConcatFilename are now wrappers for the new
      TString versions. The wrapping is done in TSystem, so all derived
      classes need to implement FindFile and PrependPath now.
      I've also fixed a few obvious problems and incompatibilities between the
      windows and the unix versions; the VMS version is IMHO still broken. One
      of the problems fixed: ConcatFileName(0,"name") returned "name" on unix,
      but "\\name" on windows. It now returns "name" for all.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15688 27541ba8-7e3a-0410-8455-c3a389f83636
      d3e9f54c
  22. May 26, 2006
  23. May 19, 2006
  24. May 13, 2006
  25. Apr 06, 2006
  26. Mar 20, 2006
  27. Mar 18, 2006
    • Fons Rademakers's avatar
      From Axel: · 48cd001d
      Fons Rademakers authored
      Dictionary G__%.o: G__%.cxx rules now in main Makefile instead of Module.mk's
      => changes in Module.mk.
      
      First Module.mk's included, then Makefile.precomp - we need ALLHDRS defined
      
      Split $(PCHEXTRAOBJ) and $(PCHFILE) rules - fixes clash with make -j2
      
      Define CINTCXXFLAGS:= - otherwise they will contain PCHCXXFLAGS via
      their definition as a copy of CXXFLAGS.
      
      MSVC: prevent LNK4206 linker warning (-Yl...)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14301 27541ba8-7e3a-0410-8455-c3a389f83636
      48cd001d
  28. Jan 25, 2006
  29. Dec 10, 2005
    • Fons Rademakers's avatar
      From Axel: · 0ab88198
      Fons Rademakers authored
      handle in a consistent way the new rootcint options -cint (default),
      -reflex and -gccxml. The type of dictionary to be used can be specified
      like: ./configure --with-dicttype=reflex. Notice that this option is
      there only for the developers working on the migration to the new
      dictionary system.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13609 27541ba8-7e3a-0410-8455-c3a389f83636
      0ab88198
  30. Nov 15, 2005
  31. Nov 02, 2005
Loading