Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
37626bb4
Commit
37626bb4
authored
11 years ago
by
Richard Linden
Browse files
Options
Downloads
Patches
Plain Diff
BUILDFIX: gcc build fixes
parent
2c6bc5af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/llsys.cpp
+6
-6
6 additions, 6 deletions
indra/llcommon/llsys.cpp
with
6 additions
and
6 deletions
indra/llcommon/llsys.cpp
+
6
−
6
View file @
37626bb4
...
...
@@ -922,8 +922,8 @@ void LLMemoryInfo::getAvailableMemoryKB(U32Kilobytes& avail_physical_mem_kb, U32
// Pageins: 2097212.
// Pageouts: 41759.
// Object cache: 841598 hits of 7629869 lookups (11% hit rate)
avail_physical_mem_kb
=
-
1
;
avail_virtual_mem_kb
=
-
1
;
avail_physical_mem_kb
=
(
U32Kilobytes
)
-
1
;
avail_virtual_mem_kb
=
(
U32Kilobytes
)
-
1
;
#elif LL_LINUX
// mStatsMap is derived from MEMINFO_FILE:
...
...
@@ -974,15 +974,15 @@ void LLMemoryInfo::getAvailableMemoryKB(U32Kilobytes& avail_physical_mem_kb, U32
// DirectMap4k: 434168 kB
// DirectMap2M: 477184 kB
// (could also run 'free', but easier to read a file than run a program)
avail_physical_mem_kb
=
-
1
;
avail_virtual_mem_kb
=
-
1
;
avail_physical_mem_kb
=
(
U32Kilobytes
)
-
1
;
avail_virtual_mem_kb
=
(
U32Kilobytes
)
-
1
;
#else
//do not know how to collect available memory info for other systems.
//leave it blank here for now.
avail_physical_mem_kb
=
-
1
;
avail_virtual_mem_kb
=
-
1
;
avail_physical_mem_kb
=
(
U32Kilobytes
)
-
1
;
avail_virtual_mem_kb
=
(
U32Kilobytes
)
-
1
;
#endif
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment