Skip to content

Commit

Permalink
Merge pull request #2290 from herwinw/process_times
Browse files Browse the repository at this point in the history
Implement Process.times
  • Loading branch information
herwinw committed Nov 5, 2024
2 parents ee9fffc + 26ecf74 commit d03e4ec
Show file tree
Hide file tree
Showing 7 changed files with 632 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ the respective file, in the same directory with a name like `LICENSE`, or both.

| file(s) | copyright | license |
| ---------------- | --------------------------------- | ----------------- |
| `benchmark.rb` | Gotoken | BSD |
| `bigint.*` | 983 | Unlicense |
| `cgi.rb` | Wakou Aoyama | BSD |
| `cgi/*` | Wakou Aoyama | BSD |
Expand Down
1 change: 1 addition & 0 deletions include/natalie/process_module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class ProcessModule : public Object {
static Value clock_gettime(Env *, Value);
static Value groups(Env *env);
static Value kill(Env *, Args);
static Value times(Env *);

private:
static uid_t value_to_uid(Env *env, Value idval) {
Expand Down
Loading

0 comments on commit d03e4ec

Please sign in to comment.