Print this page
3379 Typo or undefined operation in uts/common/cpr/cpr_stat.c

*** 17,32 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/ddi.h> #include <sys/pte.h> #include <sys/cpr.h> --- 17,31 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright (c) 2014 Gary Mills * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #include <sys/types.h> #include <sys/ddi.h> #include <sys/pte.h> #include <sys/cpr.h>
*** 69,81 **** if (cep->ce_ntests & CE_START_MASK) return; cep->ce_ntests |= CE_START_MASK; cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; ! cep->ce_sec.ltime = cep->ce_sec.ltime = 0; cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; ! cep->ce_msec.ltime = cep->ce_msec.ltime = 0; } void cpr_stat_event_end(char *name, cpr_time_t *ctp) { --- 68,80 ---- if (cep->ce_ntests & CE_START_MASK) return; cep->ce_ntests |= CE_START_MASK; cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; ! cep->ce_sec.ltime = 0; cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; ! cep->ce_msec.ltime = 0; } void cpr_stat_event_end(char *name, cpr_time_t *ctp) {