You are here

function dba_mysql_statpack_activity in Database Administration 7

1 call to dba_mysql_statpack_activity()
dba_mysql_statpack_output in database/mysql.statpack.inc

File

database/mysql.statpack.inc, line 213

Code

function dba_mysql_statpack_activity($title, $first, $last, $bytes = FALSE) {
  $delta = $last - $first;
  $col2 = $delta / variable_get('dba_statpack_interval', DBA_STATPACK_INTERVAL);
  return dba_mysql_statpack_format($title, $delta, $col2, $last, $bytes);
}