Motorola MOSCAD 68P02958C00-B User Manual page 296

Toolbox version 5.50
Table of Contents

Advertisement

## 32
LEVEL = 0
# of buffers in heap
# of buffers left in heap
The minimum # of buffers left
in heap from last diagnostic
# of times the heap was empty
since last diagnostic
Size of one buffer in bytes
During init flag
Bad heap flag
Unit time for freeing by force
Pointer to start chain
Pointer to current chain
Pointer to end chain
1. Number of buffers in heap instance
2. Number of free buffers in heap.
3. Minimum number of free buffers left in heap since the last diagnostic. This information reflects the
extent to which the heap is capable of meeting RTU needs under heavy traffic.
4. The number of times, since the last diagnostic, the RTU software detected an empty heap. A large
number of times points to incorrect allocation of memory resources.
5. Size of buffer including the overhead for managing a single buffer.
6. The flag that indicates that the RTU is in startup stage.
7. The flag that points to memory overwrite in the memory area allocated to the heap.
8. Unit of time to be measure how long a buffer is out of the heap (used by other parts of the system).
9. 10. and 11. The heap consists of a chain of joined buffers. For chain management purposes, a key
holds pointers to the beginning of the chain, the end of the chain, and to the next buffer that will be
taken from the chain. The P_current_chain value must be (numerically) between the start and end
values.
## 32
LEVEL = 1
Buf
Key
Next
--------------------------------------
Address of the buffer in the memory.
Buf
Handle (identifier) of the heap. (If =0, buffer is in heap. Otherwise buffer is in use by system.)
Key
Next Next buffer in heap to be allocated. (Meaningful only if key=0.)
Cntr Counts intervals of time that the buffer is out of the heap. (Meaningful only if key
Forced free. (Meaningful only if key 0.) Indicates the total number of units that the buffer was
#FF
in use out of the heap. Set back to zero when heap is returned to heap. If this value is greater
than 3, there may be a memory leak problem. Please consult product group.
Cntr
#FF
C-4
Software Diagnostics Output
: %% 1
: %% 2
: %% 3
: %% 4
: %% 5
: %% 6
: %% 7
: %% 8
: %% 9
: %% 10
: %% 11
0)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moscad

Table of Contents