Cc: [EMAIL PROTECTED],
Marcus Brinkmann <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
X-Reply-Permission: Posted or emailed replies to this message constitute
permission for an emailed response.
X-PGP-Fingerprint: 1F0A1E51 63 28 EB DA E6 44 E5 5E EC F
[EMAIL PROTECTED] (Niels Möller) writes:
> I'm not sure you're really asking about the C details, but if you are,
> the answer is something like
>
> #define COMPARE(type) \
> int \
> ps_cmp_##type(type a, type b) { ... }
>
> Note that there must be no space between COMPARE and (, and that
James Morrison <[EMAIL PROTECTED]> writes:
> I think there needs to be a new function ps_cmp_size_t. But it would look
> exactly like ps_cmp_float and ps_cmp_int. The easiest way I can see to do
> this is a macro
>
> #define COMPARE (type) ps_cmp_type ...
>
> Will this work?
I'm not sure y
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote:
> On Thu, May 30, 2002 at 08:22:12PM -0700, James Morrison wrote:
> > Nothing else used ps_emit_nice_int.
>
> Oh, right, I was confused.
>
> > I don't like this. After looking at both sprint_frac_value and
> > ps_emit_nice_int I think they sh
On Thu, May 30, 2002 at 08:22:12PM -0700, James Morrison wrote:
> Nothing else used ps_emit_nice_int.
Oh, right, I was confused.
> I don't like this. After looking at both sprint_frac_value and
> ps_emit_nice_int I think they should both use size_t's.
Yeah, seems so. I will look again at
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote:
> On Sun, May 26, 2002 at 04:04:44PM -0400, James A Morrison wrote:
> > I had noticed that ps and pptop would show the virtual size of some of my
> > processes to be some large negative number, which seems wrong, so here is
> the
> > patch I use t
On Sun, May 26, 2002 at 04:04:44PM -0400, James A Morrison wrote:
> I had noticed that ps and pptop would show the virtual size of some of my
> processes to be some large negative number, which seems wrong, so here is the
> patch I use to get only positive number for the resident size and the vi
Hi,
I had noticed that ps and pptop would show the virtual size of some of my
processes to be some large negative number, which seems wrong, so here is the
patch I use to get only positive number for the resident size and the virtual
size.
James A. Morrison
2002-05-26 James A. Morrison <[