High watermark memory usage feature
This commit is contained in:
@@ -13,4 +13,4 @@ install::
|
||||
cpdir . $(INC)
|
||||
@chown -R bin $(INC)
|
||||
@rm -f $(INC)/Makefile
|
||||
if [ -f $(MKHEADERS) ] ; then sh $(MKHEADERS) ; fi
|
||||
# if [ -f $(MKHEADERS) ] ; then sh $(MKHEADERS) ; fi
|
||||
|
||||
@@ -54,6 +54,12 @@ struct hole {
|
||||
phys_clicks h_len; /* how big is the hole? */
|
||||
};
|
||||
|
||||
/* Memory info from PM. */
|
||||
struct pm_mem_info {
|
||||
struct hole pmi_holes[_NR_HOLES];/* memory (un)allocations */
|
||||
u32_t pmi_hi_watermark; /* highest ever-used click + 1 */
|
||||
};
|
||||
|
||||
#define phys_cp_req vir_cp_req
|
||||
struct vir_cp_req {
|
||||
struct vir_addr src;
|
||||
|
||||
Reference in New Issue
Block a user