.type = PT_STR,
.id = "name",
.name = N_("Name"),
+ .desc = N_("Name of object."),
.off = offsetof(memoryinfo_t, my_name),
.opts = PO_RDONLY | PO_NOSAVE,
},
.type = PT_S64_ATOMIC,
.id = "size",
.name = N_("Size"),
+ .desc = N_("Current object size."),
.off = offsetof(memoryinfo_t, my_size),
.opts = PO_RDONLY | PO_NOSAVE,
},
.type = PT_S64_ATOMIC,
.id = "peak_size",
.name = N_("Peak size"),
+ .desc = N_("Largest size the object has reached."),
.off = offsetof(memoryinfo_t, my_peak_size),
.opts = PO_RDONLY | PO_NOSAVE,
},
.type = PT_S64_ATOMIC,
.id = "count",
.name = N_("Count of objects"),
+ .desc = N_("Current number of objects."),
.off = offsetof(memoryinfo_t, my_count),
.opts = PO_RDONLY | PO_NOSAVE,
},
.type = PT_S64_ATOMIC,
.id = "peak_count",
.name = N_("Peak count of objects"),
+ .desc = N_("Highest count of objects."),
.off = offsetof(memoryinfo_t, my_peak_count),
.opts = PO_RDONLY | PO_NOSAVE,
},