File: utils_other.cpp

package info (click to toggle)
pilercr 1.06%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 844 kB
  • sloc: cpp: 14,339; makefile: 67; sh: 36
file content (22 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "pilercr.h"

#if	!WIN32 && !(linux || __linux__) && !(unix || __unix)

double GetRAMSize()
	{
	return 1e9;
	}

static unsigned g_uPeakMemUseBytes = (unsigned) 500e6;

unsigned GetPeakMemUseBytes()
	{
	return g_uPeakMemUseBytes;
	}

unsigned GetMemUseBytes()
	{
	return (unsigned) 500e6;
	}

#endif