diff for duplicates of <48762779.5070703@qumranet.com> diff --git a/a/1.txt b/N1/1.txt index 41cbd83..cda75f4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -44,7 +44,7 @@ ehrhardt@linux.vnet.ibm.com wrote: > - rec.u.cycle.cycle_u64 = get_cycles(); > + getnstimeofday(&tv); > + /* compress both struct tv values into u64 on 32 bit archs */ -> + if (sizeof(tv) = sizeof(u64)) +> + if (sizeof(tv) == sizeof(u64)) > + rec.u.cycle.cycle_u64 = > + (((u64)tv.tv_sec) << 32) | tv.tv_nsec; > + else diff --git a/a/content_digest b/N1/content_digest index 9b87e6d..3485579 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01215687256-18155-3-git-send-email-ehrhardt@linux.vnet.ibm.com\0" "From\0Avi Kivity <avi@qumranet.com>\0" "Subject\0Re: [PATCH 2/9] kvmtrace: replace get_cycles with getnstimeofday\0" - "Date\0Thu, 10 Jul 2008 15:15:05 +0000\0" + "Date\0Thu, 10 Jul 2008 18:15:05 +0300\0" "To\0ehrhardt@linux.vnet.ibm.com\0" "Cc\0kvm@vger.kernel.org" hollisb@us.ibm.com @@ -55,7 +55,7 @@ "> -\t\trec.u.cycle.cycle_u64 = get_cycles();\n" "> +\t\tgetnstimeofday(&tv);\n" "> +\t\t/* compress both struct tv values into u64 on 32 bit archs */\n" - "> +\t\tif (sizeof(tv) = sizeof(u64))\n" + "> +\t\tif (sizeof(tv) == sizeof(u64))\n" "> +\t\t\trec.u.cycle.cycle_u64 = \n" "> +\t\t\t\t(((u64)tv.tv_sec) << 32) | tv.tv_nsec;\n" "> +\t\telse\n" @@ -69,4 +69,4 @@ "-- \n" error compiling committee.c: too many arguments to function -cd0d2acb0c6163964616aee3de7227a98071741ff3ae23875f7e52b929ad1dc4 +e7558ba40daa333d6ee33fd4ab9c200c59d396af860ca7db4a44e93ddbab467c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.