-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 76198 b: refs/heads/master c: 9745512 h: refs/heads/master v: v3
- Loading branch information
Arjan van de Ven
authored and
Ingo Molnar
committed
Jan 25, 2008
1 parent
72c2ee8
commit 38a3988
Showing
12 changed files
with
430 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 326587b840785c60f5dc18557235a23bafefd620 | ||
refs/heads/master: 9745512ce79de686df354dc70a8d1a74d801892d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* latencytop.h: Infrastructure for displaying latency | ||
* | ||
* (C) Copyright 2008 Intel Corporation | ||
* Author: Arjan van de Ven <arjan@linux.intel.com> | ||
* | ||
*/ | ||
|
||
#ifndef _INCLUDE_GUARD_LATENCYTOP_H_ | ||
#define _INCLUDE_GUARD_LATENCYTOP_H_ | ||
|
||
#ifdef CONFIG_LATENCYTOP | ||
|
||
#define LT_SAVECOUNT 32 | ||
#define LT_BACKTRACEDEPTH 12 | ||
|
||
struct latency_record { | ||
unsigned long backtrace[LT_BACKTRACEDEPTH]; | ||
unsigned int count; | ||
unsigned long time; | ||
unsigned long max; | ||
}; | ||
|
||
|
||
struct task_struct; | ||
|
||
void account_scheduler_latency(struct task_struct *task, int usecs, int inter); | ||
|
||
void clear_all_latency_tracing(struct task_struct *p); | ||
|
||
#else | ||
|
||
static inline void | ||
account_scheduler_latency(struct task_struct *task, int usecs, int inter) | ||
{ | ||
} | ||
|
||
static inline void clear_all_latency_tracing(struct task_struct *p) | ||
{ | ||
} | ||
|
||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.