Searched refs:latency (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t201 my $latency = lgrp_latency($root, $root);
202 ok(defined $latency, 'lgrp_latency() is working') or
205 my $latency1 = $c->latency($root, $root);
209 is($latency, $latency1, 'Latencies should match');
214 # Verify latency matrix.
219 cmp_ok($latency, '>', 0, "Latency from root to self should be positive");
231 $latencies->{$l1}{$l2} = $c->latency($l1, $l2);
245 diag("diagonal latency: $lat_diag; bad latencies: @badlatencies");
262 # Can't get latency if source doesn't have CPUs
273 diag("Invalid latency betwee
[all...]
H A DLgrp.t206 my $latency = lgrp_latency($root, $root);
207 ok(defined $latency);
211 ok($latency, $latency1, 'Latencies should match');
255 ok(lgrp_latency($root, $root), $c->latency($root, $root));
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm266 sub latency subroutine
268 scalar @_ == 3 or _usage("latency(class, from, to)");
/osnet-11/usr/src/lib/liblgrp/common/
H A Dlgrp.c1153 * Return latency between "from" and "to" lgroups
1155 * This latency number can only be used for relative comparison
1157 * and may not reflect the actual latency. It is platform and implementation
1165 int latency; local
1168 latency = lgrp_latency_cookie(cookie, from, to, LGRP_LAT_CPU_TO_MEM);
1171 return (latency);
1176 * Return latency between "from" and "to" lgroups
1178 * This latency number can only be used for relative comparison
1180 * and may not reflect the actual latency. It is platform and implementation

Completed in 301 milliseconds