aboutsummaryrefslogtreecommitdiff
path: root/race.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-07-30 13:26:56 +0200
committerJakob Unterwurzacher2017-07-30 16:07:00 +0200
commit1f39ede4b46ec3609ccbe1d54402f4a17f3d697e (patch)
treec0705ef11c3b0afc390ff31835f538963b32ff78 /race.go
parent86253b75670172fda6b481848cd63ca5685f112d (diff)
main: save memory profile every 60 seconds
...and move all profiling functionality to its own file, as the main function is already long enough. Periodically saving the memory profile allows capturing the used memory during normal operation, as opposed to on exit, where the kernel has already issued FORGETs for all inodes. This functionality has been used to create the memory profile shown in https://github.com/rfjakob/gocryptfs/issues/132 .
Diffstat (limited to 'race.go')
0 files changed, 0 insertions, 0 deletions