Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tooltips: memoryinfo tooltips..
  • Loading branch information
Mark Clarkstone authored and perexg committed Mar 28, 2016
1 parent 8e596d6 commit 391659a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/memoryinfo.c
Expand Up @@ -40,34 +40,39 @@ const idclass_t memoryinfo_class = {
.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,
},
Expand Down

0 comments on commit 391659a

Please sign in to comment.