diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-03-23 21:02:46 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-03-24 04:03:20 +0000 |
commit | 37490e36070e66893d7018fe1edd331f57438a79 (patch) | |
tree | c843706e6247424dd70ac8e5b7b995d80bada4f2 /epan/app_mem_usage.c | |
parent | b4b374937f33368cbf06aaedb7f22448076d47fb (diff) |
Update a comment.
Change-Id: I9a1f5ed85591202c52f26d4b3d63d8beb7578e15
Reviewed-on: https://code.wireshark.org/review/26623
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/app_mem_usage.c')
-rw-r--r-- | epan/app_mem_usage.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/app_mem_usage.c b/epan/app_mem_usage.c index bd8760151e..fc7cec552e 100644 --- a/epan/app_mem_usage.c +++ b/epan/app_mem_usage.c @@ -149,7 +149,14 @@ static guint memory_register_num = 2; #else -/* XXX, BSD 4.3: getrusage() -> ru_ixrss ? */ +/* + * macOS: task_info()? + * + * *BSD: getrusage() -> ru_ixrss ? Note that there are three + * current-RSS components in struct rusage, but those date + * back to the days when you had just text, data, and stack, + * and kernels might not even bother supplying them. + */ static const ws_mem_usage_t *memory_components[MAX_COMPONENTS]; |