File: task.rb

package info (click to toggle)
ruby-vmstat 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: ruby: 1,136; ansic: 347; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Vmstat
  # Per task performance metrics snapshot.
  # @attr [Fixnum] virtual_size
  #   The number of virtual pages for the task.
  # @attr [Fixnum] resident_size
  #   The number of resident pages for the task
  # @attr [Fixnum] user_time_ms
  #   The total user run time for terminated threads within the task.
  # @attr [Fixnum] system_time_ms
  #   The total system run time for terminated threads within the task.
  class Task < Struct.new(:virtual_size, :resident_size,
                          :user_time_ms, :system_time_ms)
  end
end