1

Committer:
group-STM32F031
Date:
Wed Mar 21 18:13:41 2018 +0000
Revision:
0:d193d40d4fa1
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
group-STM32F031 0:d193d40d4fa1 1 // ----------------------------------------------------------------------------
group-STM32F031 0:d193d40d4fa1 2 // Copyright 2016-2017 ARM Ltd.
group-STM32F031 0:d193d40d4fa1 3 //
group-STM32F031 0:d193d40d4fa1 4 // SPDX-License-Identifier: Apache-2.0
group-STM32F031 0:d193d40d4fa1 5 //
group-STM32F031 0:d193d40d4fa1 6 // Licensed under the Apache License, Version 2.0 (the "License");
group-STM32F031 0:d193d40d4fa1 7 // you may not use this file except in compliance with the License.
group-STM32F031 0:d193d40d4fa1 8 // You may obtain a copy of the License at
group-STM32F031 0:d193d40d4fa1 9 //
group-STM32F031 0:d193d40d4fa1 10 // http://www.apache.org/licenses/LICENSE-2.0
group-STM32F031 0:d193d40d4fa1 11 //
group-STM32F031 0:d193d40d4fa1 12 // Unless required by applicable law or agreed to in writing, software
group-STM32F031 0:d193d40d4fa1 13 // distributed under the License is distributed on an "AS IS" BASIS,
group-STM32F031 0:d193d40d4fa1 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
group-STM32F031 0:d193d40d4fa1 15 // See the License for the specific language governing permissions and
group-STM32F031 0:d193d40d4fa1 16 // limitations under the License.
group-STM32F031 0:d193d40d4fa1 17 // ----------------------------------------------------------------------------
group-STM32F031 0:d193d40d4fa1 18
group-STM32F031 0:d193d40d4fa1 19 #ifndef __MEMORY_TESTS_H__
group-STM32F031 0:d193d40d4fa1 20 #define __MEMORY_TESTS_H__
group-STM32F031 0:d193d40d4fa1 21
group-STM32F031 0:d193d40d4fa1 22 #include "mbed-client/m2minterface.h"
group-STM32F031 0:d193d40d4fa1 23 #include "mbed.h"
group-STM32F031 0:d193d40d4fa1 24
group-STM32F031 0:d193d40d4fa1 25 // A function for creating a batch of resources for memory consumption purposes.
group-STM32F031 0:d193d40d4fa1 26 void m2mobject_test_set(M2MObjectList& object_list);
group-STM32F031 0:d193d40d4fa1 27
group-STM32F031 0:d193d40d4fa1 28 // Print into serial the m2m object sizes and heap allocation sizes.
group-STM32F031 0:d193d40d4fa1 29 void m2mobject_stats();
group-STM32F031 0:d193d40d4fa1 30
group-STM32F031 0:d193d40d4fa1 31 void heap_stats();
group-STM32F031 0:d193d40d4fa1 32
group-STM32F031 0:d193d40d4fa1 33 #endif // !__MEMORY_TESTS_H__