User Tools

Site Tools


uphp:functions:mem_dump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:mem_dump [2017/05/08 14:34]
jeff
uphp:functions:mem_dump [2022/03/30 08:27] (current)
admin
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +Usage 1 
-<html>+ 
 +<well size="sm"><html>
 <span style="font-size:125%">mem_dump ( ) <span style="font-size:125%">mem_dump ( )
-</html> +</html></well> 
-</well>+ 
 +Usage 2 (FW > 1217) 
 + 
 +<well size="sm"><html> 
 +<span style="font-size:125%">string mem_dump ( string $address, int len ) 
 +</html></well> 
  
 ====Parameters==== ====Parameters====
  
-None+Passing no parameters will cause the memory block structure to be written to /dump.txt. 
 + 
 +Passing an address (hex string) and a length will return a hex encoded string of the contents of the memory area. 
  
-====Return Value====+====Return Values====
  
 None None
Line 37: Line 47:
 [[freemem()]] - Return free memory space [[freemem()]] - Return free memory space
  
-[[uphp:programming_the_wattmon?s[]=memory#challenges|Challenges to Programming the Wattmon:  Memory Limits]]+[[uphp:uphp_intro#challenges|Memory Limit Challenges to Programming the Wattmon]]
  
-[[nvram_dump()]] - Dump the contents of NVRAM to standard output+[[nvram_dump()]] - Dump the contents of <tooltip title="Non-Volatile RAM">NVRAM</tooltip> to standard output
  
 [[print_r()]] - Dump the contents of an array to the current output [[print_r()]] - Dump the contents of an array to the current output
  
uphp/functions/mem_dump.1494254089.txt.gz · Last modified: 2021/09/13 05:56 (external edit)