lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH][2/4] sched: add discrete weighted cpu load function
    Date
    Peter Williams writes:

    > Con Kolivas wrote:
    >> +unsigned long weighted_cpuload(const int cpu)
    >> +{
    >> + return (cpu_rq(cpu)->raw_weighted_load);
    >> +}
    >> +
    >
    > Wouldn't this be a candidate for inlining?

    That would make it unsuitable for exporting via sched.h.

    Cheers,
    Con

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2006-03-13 23:55    [W:0.031 / U:0.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site