1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-20 23:01:51 +00:00

Some typo fixes in human readable text.

This commit is contained in:
Mike Gabriel 2019-10-01 13:04:01 +02:00
parent f6e4e23796
commit 47418f1e71
2 changed files with 4 additions and 4 deletions

View file

@ -162,7 +162,7 @@ static void usage(void)
printf("Options:\n");
printf(" -h, --help - Show this help\n");
printf(" --load=<file> - Load raw CPUID data from file\n");
printf(" --save=<file> - Aquire raw CPUID data and write it to file\n");
printf(" --save=<file> - Acquire raw CPUID data and write it to file\n");
printf(" --report, --all - Report all decoded CPU info (w/o clock)\n");
printf(" --clock - in conjunction to --report: print CPU clock as well\n");
printf(" --clock-rdtsc - same as --clock, but use RDTSC for clock detection\n");
@ -173,7 +173,7 @@ static void usage(void)
printf(" --verbose, -v - be extra verbose (more keys increase verbosiness level)\n");
printf(" --version - print library version\n");
printf("\n");
printf("Query switches (generate 1 line of ouput per switch; in order of appearance):");
printf("Query switches (generate 1 line of output per switch; in order of appearance):");
line_fill = 80;
for (i = 0; i < sz_match; i++) {

View file

@ -264,7 +264,7 @@ struct cpu_id_t {
/**
* The total number of logical processors.
* The same value is availabe through \ref cpuid_get_total_cpus.
* The same value is available through \ref cpuid_get_total_cpus.
*
* This is num_logical_cpus * {total physical processors in the system}
* (but only on a real system, under a VM this number may be lower).
@ -734,7 +734,7 @@ void cpu_tsc_mark(struct cpu_mark_t* mark);
/**
* @brief Calculate TSC and timing difference
*
* @param mark - input/output: a pointer to a cpu_mark_t sturcture, which has
* @param mark - input/output: a pointer to a cpu_mark_t structure, which has
* already been initialized by cpu_tsc_mark. The difference in
* TSC and time will be written here.
*