The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Sys::Time::Tms - struct tms in the C language

Description

The Sys::Time::Tms class in SPVM represents struct tms in the C language.

Usage

  use Sys::Time::Tms;
  
  my $tms = Sys::Time::Tms->new;

Class Methods

new

static method new : Sys::Time::Tms ();

Creates a new Sys::Time::Tms object.

  my $tms = Sys::Time::Tms->new;

Instance Methods

DESTROY

native method DESTROY : void ();

The destructor.

tms_utime

method tms_utime : long ();

Returns tms_utime.

set_tms_utime

method set_tms_utime : void ($tms_utime : long);

Sets tms_utime.

tms_stime

method tms_stime : long ();

Returns tms_stime.

set_tms_stime

method set_tms_stime : void ($tms_stime : long);

Sets tms_stime.

tms_cutime

method tms_cutime : long ();

Returns tms_cutime.

set_tms_cutime

method set_tms_cutime : void ($tms_cutime : long);

Sets tms_cutime.

tms_cstime

method tms_cstime : long ();

Returns tms_cstime.

set_tms_cstime

method set_tms_cstime : void ($tms_cstime : long);

Sets tms_cstime.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License