Skip to content

Commit c2dae27

Browse files
author
Amanda Butler
authored
Add test image to ProfilingBlockDevice.md
Update image for testing purposes.
1 parent 8ad9909 commit c2dae27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/reference/api/storage/ProfilingBlockDevice.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## ProfilingBlockDevice
22

3+
<span class="images">![](https://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/class_profiling_block_device.png)<span>ProfilingBlockDevice class hierarchy</span></span>
4+
35
The ProfilingBlockDevice class provides a decorator for an existing block device object to log reads, writes and erases.
46

57
ProfilingBlockDevices take in a pointer to the block device being profiled as the only configurable parameter. If you want to count a storage operation such as programming, reading or writing to a block device, you should use the ProfilingBlockDevice object as the interface to the storage block rather than the underlying device. The below example highlights this use case.

0 commit comments

Comments
 (0)