Spelling fixes
* accumulating * acquire * alignment * appropriate * argument * assign * attribute * authenticate * authentication * authenticator * authority * auxiliary * brackets * callback * camellia * can't * cancelability * certificate * choinyambuu * chunk * collector * collision * communicating * compares * compatibility * compressed * confidentiality * configuration * connection * consistency * constraint * construction * constructor * database * decapsulated * declaration * decrypt * derivative * destination * destroyed * details * devised * dynamic * ecapsulation * encoded * encoding * encrypted * enforcing * enumerator * establishment * excluded * exclusively * exited * expecting * expire * extension * filter * firewall * foundation * fulfillment * gateways * hashing * hashtable * heartbeats * identifier * identifiers * identities * identity * implementers * indicating * initialize * initiate * initiation * initiator * inner * instantiate * legitimate * libraries * libstrongswan * logger * malloc * manager * manually * measurement * mechanism * message * network * nonexistent * object * occurrence * optional * outgoing * packages * packets * padding * particular * passphrase * payload * periodically * policies * possible * previously * priority * proposal * protocol * provide * provider * pseudo * pseudonym * public * qualifier * quantum * quintuplets * reached * reading * recommendation to * recommendation * recursive * reestablish * referencing * registered * rekeying * reliable * replacing * representing * represents * request * request * resolver * result * resulting * resynchronization * retriable * revocation * right * rollback * rule * rules * runtime * scenario * scheduled * security * segment * service * setting * signature * specific * specified * speed * started * steffen * strongswan * subjectaltname * supported * threadsafe * traffic * tremendously * treshold * unique * uniqueness * unknown * until * upper * using * validator * verification * version * version * warrior Closes strongswan/strongswan#164.
This commit is contained in:
committed by
Tobias Brunner
parent
baf29263d5
commit
b3ab7a48cc
@@ -24,12 +24,12 @@
|
||||
/**
|
||||
* Do not report mutexes with an overall waiting time smaller than this (in us)
|
||||
*/
|
||||
#define PROFILE_WAIT_TRESHHOLD 10000
|
||||
#define PROFILE_WAIT_TRESHOLD 10000
|
||||
|
||||
/**
|
||||
* Do not report mutexes with an overall lock count smaller than this
|
||||
*/
|
||||
#define PROFILE_LOCK_TRESHHOLD 1000
|
||||
#define PROFILE_LOCK_TRESHOLD 1000
|
||||
|
||||
#include <utils/backtrace.h>
|
||||
|
||||
@@ -58,8 +58,8 @@ struct lock_profile_t {
|
||||
static inline void profiler_cleanup(lock_profile_t *profile)
|
||||
{
|
||||
if (profile->waited.tv_sec > 0 ||
|
||||
profile->waited.tv_usec > PROFILE_WAIT_TRESHHOLD ||
|
||||
profile->locked > PROFILE_LOCK_TRESHHOLD)
|
||||
profile->waited.tv_usec > PROFILE_WAIT_TRESHOLD ||
|
||||
profile->locked > PROFILE_LOCK_TRESHOLD)
|
||||
{
|
||||
fprintf(stderr, "%d.%03ds / %d times in lock created at:",
|
||||
profile->waited.tv_sec, profile->waited.tv_usec, profile->locked);
|
||||
|
||||
@@ -48,7 +48,7 @@ struct private_mutex_t {
|
||||
pthread_mutex_t mutex;
|
||||
|
||||
/**
|
||||
* is this a recursiv emutex, implementing private_r_mutex_t?
|
||||
* is this a recursive mutex, implementing private_r_mutex_t?
|
||||
*/
|
||||
bool recursive;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ struct private_thread_t {
|
||||
thread_t public;
|
||||
|
||||
/**
|
||||
* Identificator of this thread (human-readable/thread ID).
|
||||
* Identifier of this thread (human-readable/thread ID).
|
||||
*/
|
||||
u_int id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user