source: branches/stable/GDE/MUSCLE/src/globalsother.cpp

Last change on this file was 10390, checked in by aboeckma, 11 years ago

added muscle sourcles amd makefile

File size: 713 bytes
Line 
1#include "muscle.h"
2
3#if             !defined(__linux__) && !defined(_MSC_VER) && !defined(__MACH__)
4
5double GetNAN()
6        {
7        return 0.0;
8        }
9
10double g_dNAN = GetNAN();
11
12void chkmem(const char szMsg[])
13        {
14        }
15
16void Break()
17        {
18        }
19
20char szCmdLine[4096];
21
22const char *GetCmdLine()
23        {
24        return "muscle";
25        }
26
27double GetMemUseMB()
28        {
29        return 100.0;
30        }
31
32void SaveCmdLine(int argc, char *argv[])
33        {
34        for (int i = 0; i < argc; ++i)
35                {
36                if (i > 0)
37                        strcat(szCmdLine, " ");
38                strcat(szCmdLine, argv[i]);
39                }
40        }
41
42double GetPeakMemUseMB()
43        {
44        return 100.0;
45        }
46
47double GetCPUGHz()
48        {
49        return 2.0;
50        }
51
52void CheckMemUse()
53        {
54        }
55
56double GetRAMSizeMB()
57        {
58        return 500.0;
59        }
60
61#endif
62
Note: See TracBrowser for help on using the repository browser.