statistics.hh (6216:2f4020838149) | statistics.hh (6227:a17798f2a52c) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 1351 unchanged lines hidden (view full) --- 1360 { 1361 const Params *params = safe_cast<const Params *>(info->storageParams); 1362 1363 data.min_val = (min_val == CounterLimits::max()) ? 0 : min_val; 1364 data.max_val = (max_val == CounterLimits::min()) ? 0 : max_val; 1365 data.underflow = underflow; 1366 data.overflow = overflow; 1367 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 1351 unchanged lines hidden (view full) --- 1360 { 1361 const Params *params = safe_cast<const Params *>(info->storageParams); 1362 1363 data.min_val = (min_val == CounterLimits::max()) ? 0 : min_val; 1364 data.max_val = (max_val == CounterLimits::min()) ? 0 : max_val; 1365 data.underflow = underflow; 1366 data.overflow = overflow; 1367 |
1368 int buckets = params->buckets; | 1368 size_type buckets = params->buckets; |
1369 data.cvec.resize(buckets); 1370 for (off_type i = 0; i < buckets; ++i) 1371 data.cvec[i] = cvec[i]; 1372 1373 data.sum = sum; 1374 data.squares = squares; 1375 data.samples = samples; 1376 } --- 1378 unchanged lines hidden --- | 1369 data.cvec.resize(buckets); 1370 for (off_type i = 0; i < buckets; ++i) 1371 data.cvec[i] = cvec[i]; 1372 1373 data.sum = sum; 1374 data.squares = squares; 1375 data.samples = samples; 1376 } --- 1378 unchanged lines hidden --- |