Ticket #2282 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Utility to get information about memory

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: minor Milestone: Iteration 27
Component: Infrastructure Keywords:
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description

How much memory is being used keeps coming up in tests. Create a central facility for doing this in Kernel.

Change History

comment:1 Changed 10 years ago by Peter Peterson

  • Owner set to Peter Peterson
  • Status changed from new to accepted

comment:2 Changed 10 years ago by Peter Peterson

(In [8944]) Initial version that takes care of memory used on linux. All others get zero. Refs #2282.

comment:3 Changed 10 years ago by Peter Peterson

(In [8949]) Turned the utility into a class to improve usability. Copied over the mac bits, but haven't tried to do windows. Refs #2282.

comment:4 Changed 10 years ago by Peter Peterson

(In [8950]) Trying to get mac build working again. Refs #2282.

comment:5 Changed 10 years ago by Peter Peterson

(In [8951]) Trying to get mac build working again. Refs #2282.

comment:6 Changed 10 years ago by Peter Peterson

(In [8954]) Trying to get windoze build working again. Refs #2282.

comment:7 Changed 10 years ago by Peter Peterson

(In [8955]) Trying to get windoze build working again. Refs #2282.

comment:8 Changed 10 years ago by Peter Peterson

(In [9241]) Trying to fold in the windows stuff from MemoryManager. Lets see if I can edit code without a compiler. Refs #2282.

comment:9 Changed 10 years ago by Peter Peterson

(In [9242]) Completely messed that one up. Commenting out the offending code for the moment. Refs #2282.

comment:10 Changed 10 years ago by Peter Peterson

(In [9244]) Maybe this will make the build server happy. Refs #2282.

comment:11 Changed 10 years ago by Peter Peterson

(In [9289]) Moved all of the underlying bits of MemoryManager over to be in Memory. Refs #2282.

comment:12 Changed 10 years ago by Peter Peterson

(In [9293]) Trying to get the windows build working again. Refs #2282.

comment:13 Changed 10 years ago by Peter Peterson

(In [9295]) The real problem was having the same constant defined twice. Oops! Refs #2282.

comment:14 Changed 10 years ago by Peter Peterson

(In [9296]) Get rid of the call to the non-existant logger. Refs #2282.

comment:15 Changed 10 years ago by Peter Peterson

(In [9298]) Putting logger back in. Refs #2282.

comment:16 Changed 10 years ago by Martyn Gigg

(In [9304]) Adding missing declarations. Re #2282

comment:17 Changed 10 years ago by Martyn Gigg

(In [9306]) Temporary fix for Windows build. Re #2282

comment:18 Changed 10 years ago by Peter Peterson

(In [9310]) Moving to size_t rather than unsigned int. Refs #2282.

comment:19 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

The last commit finished the work.

comment:20 Changed 10 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:21 Changed 10 years ago by Vickie Lynch

  • Status changed from verifying to closed

This utility is called and printed in SaveSNSNexus. The memory available printed matched the memory available in my System Monitor.

comment:22 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3129

Note: See TracTickets for help on using tickets.