Home > source > @penlab > clearstats.m

# clearstats

## PURPOSE

Zero all statistics

## SYNOPSIS

function [] = clearstats(obj)

## DESCRIPTION

     Zero all statistics

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

- penlab PenLab (Pennon Laboratory for Matlab, previously PennonM)

## SOURCE CODE

    0001 % Zero all statistics
    0002 function [] = clearstats(obj)
    0003
    0004   obj.stats_ncall_alx = 0;
    0005   obj.stats_time_alx = 0;
    0006   obj.stats_ncall_aldx = 0;
    0007   obj.stats_time_aldx = 0;
    0008   obj.stats_ncall_alddx = 0;
    0009   obj.stats_time_alddx = 0;
    0010   obj.stats_time_miter_last = 0;
    0011   obj.stats_time_miters = 0;
    0012   obj.stats_time_total = 0;
    0013   obj.miter = 0;
    0014   obj.miter_last = 0;
    0015   obj.initer = 0;
    0016   obj.initer_last = 0;
    0017   obj.stats_time_fact_last = 0;
    0018   obj.stats_time_fact = 0;
    0019   obj.lsiter = 0;
    0020   obj.lsiter_last = 0;
    0021
    0022