diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-05-24 04:14:53 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-05-24 04:14:53 +0000 |
| commit | 859388b8b4a544d6206cef4538a1f364e1e00fce (patch) | |
| tree | d5f8cfe7faa0e31654b196d66065abf9becbb18d /cpp/src/qpid/sys/MemStat.cpp | |
| parent | e33e56e6fb2cc0cc50a9685031489dddb4718d14 (diff) | |
| download | qpid-python-859388b8b4a544d6206cef4538a1f364e1e00fce.tar.gz | |
NO-JIRA: Rearrange memory status code
Currently only Linux has a useful implementation and everyone else uses a null implementation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1342137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/MemStat.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/MemStat.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/MemStat.cpp b/cpp/src/qpid/sys/MemStat.cpp new file mode 100644 index 0000000000..c71fba785c --- /dev/null +++ b/cpp/src/qpid/sys/MemStat.cpp @@ -0,0 +1,31 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + +#include "qpid/sys/MemStat.h" + +// Null memory stats provider: +// This is for platforms that do not have a way to get allocated +// memory status +void qpid::sys::MemStat::loadMemInfo(qmf::org::apache::qpid::broker::Memory*) +{ +} + + |
