| 1 | package SPVM::Sys::Time::Tms; | ||
| 2 | |||
| 3 | 1; | ||
| 4 | |||
| 5 | =head1 Name | ||
| 6 | |||
| 7 | SPVM::Sys::Time::Tms - struct tms in the C language | ||
| 8 | |||
| 9 | =head1 Description | ||
| 10 | |||
| 11 | Sys::Time::Tms class in L<SPVM> represents L<struct tms|https://linux.die.net/man/2/times> in the C language. | ||
| 12 | |||
| 13 | =head1 Usage | ||
| 14 | |||
| 15 | use Sys::Time::Tms; | ||
| 16 | |||
| 17 | my $tms = Sys::Time::Tms->new; | ||
| 18 | |||
| 19 | =head1 Class Methods | ||
| 20 | |||
| 21 | =head2 new | ||
| 22 | |||
| 23 | C<static method new : L<Sys::Time::Tms|SPVM::Sys::Time::Tms> ();> | ||
| 24 | |||
| 25 | Creates a new L<Sys::Time::Tms|SPVM::Sys::Time::Tms> object. | ||
| 26 | |||
| 27 | my $tms = Sys::Time::Tms->new; | ||
| 28 | |||
| 29 | =head1 Instance Methods | ||
| 30 | |||
| 31 | =head2 DESTROY | ||
| 32 | |||
| 33 | C<native method DESTROY : void ();> | ||
| 34 | |||
| 35 | The destructor. | ||
| 36 | |||
| 37 | =head2 tms_utime | ||
| 38 | |||
| 39 | C<method tms_utime : long ();> | ||
| 40 | |||
| 41 | Returns C<tms_utime>. | ||
| 42 | |||
| 43 | =head2 set_tms_utime | ||
| 44 | |||
| 45 | C<method set_tms_utime : void ($tms_utime : long);> | ||
| 46 | |||
| 47 | Sets C<tms_utime>. | ||
| 48 | |||
| 49 | =head2 tms_stime | ||
| 50 | |||
| 51 | C<method tms_stime : long ();> | ||
| 52 | |||
| 53 | Returns C<tms_stime>. | ||
| 54 | |||
| 55 | =head2 set_tms_stime | ||
| 56 | |||
| 57 | C<method set_tms_stime : void ($tms_stime : long);> | ||
| 58 | |||
| 59 | Sets C<tms_stime>. | ||
| 60 | |||
| 61 | =head2 tms_cutime | ||
| 62 | |||
| 63 | C<method tms_cutime : long ();> | ||
| 64 | |||
| 65 | Returns C<tms_cutime>. | ||
| 66 | |||
| 67 | =head2 set_tms_cutime | ||
| 68 | |||
| 69 | C<method set_tms_cutime : void ($tms_cutime : long);> | ||
| 70 | |||
| 71 | Sets C<tms_cutime>. | ||
| 72 | |||
| 73 | =head2 tms_cstime | ||
| 74 | |||
| 75 | C<method tms_cstime : long ();> | ||
| 76 | |||
| 77 | Returns C<tms_cstime>. | ||
| 78 | |||
| 79 | =head2 set_tms_cstime | ||
| 80 | |||
| 81 | C<method set_tms_cstime : void ($tms_cstime : long);> | ||
| 82 | |||
| 83 | Sets C<tms_cstime>. | ||
| 84 | |||
| 85 | =head1 See Also | ||
| 86 | |||
| 87 | =over 2 | ||
| 88 | |||
| 89 | =item * L<Sys|SPVM::Sys> | ||
| 90 | |||
| 91 | =back | ||
| 92 | |||
| 93 | =head1 Copyright & License | ||
| 94 | |||
| 95 | Copyright (c) 2023 Yuki Kimoto | ||
| 96 | |||
| 97 | MIT License | ||
| 98 |