Thanks, John. As a reminder, in addition to using GAAP results when evaluating PDF's business, we believe it is also useful to consider our results using non-GAAP measures. In this case, non-GAAP measures exclude stock-based compensation expenses, amortization of expenses related to acquired technology and other intangible assets, restructuring charges and their related tax effects as applicable. You can access the earnings press release that contains the reconciliation of non-GAAP to GAAP results in the Investor section of our website located at pdf.com.
Now let's turn to the review of the financial results. First let me cover some highlights for the quarter. As John stated, total revenues were $22.5 million with a GAAP net income of $4.8 million. This resulted in EPS of $0.17 per share for basic shares and $0.16 per share for fully diluted shares.
Net income on a non-GAAP basis totaled $6.4 million or $0.22 per share, per diluted share. Cash increased by approximately $4.6 million during the quarter. And on a GAAP basis, cost of sales and operating expenses were $17.1 million, an increase of $225,000 from last quarter. Overall, we are very pleased with the strong improvement in revenues, earnings and cash for the quarter.
Now let's look at revenues in a little more detail.
Total revenues of $22.5 million for the first quarter were up 9% as compared to $20.6 million in the prior quarter. Total revenues were comprised of design-to-silicon-yield solutions or solutions revenues of $13.8 million and gainshare revenues of $8.7 million.
Gainshare revenues increased for the quarter by $1.5 million or 20% sequentially and solutions revenues for the quarter increased by $406,000 or 3% sequentially.
Our gainshare revenues for the quarter as a percentage of total revenues increased to 39% from 35% in the prior quarter. As John has indicated, the significant improvement in our gainshare revenues was due to increases in volumes and yields at our customers on the leading-edge nodes, as well as increases in volumes on the more mature nodes.
The total number of customers contributing to gainshare revenue in the quarter was 8, an increase of 2 over the prior quarter, as 2 existing customers began generating new gainshare revenues.
During the quarter, we added 4 new solutions contracts, including our second enterprise agreement and 1 extension to an existing solutions contract.
In the quarter, 12 engagements with a total of 7 different customers each contributed at least $150,000 of solutions revenue. Our top 10 customers represented 91% of total revenues in the quarter. Three of these customers contributed revenues greater than 10% each for a total of 71% compared to 3 customers contributing 76% in the prior quarter.
On a geographic basis, Europe accounted for 34% of total revenues, North America represented 33% and Asia accounted for 33%.
Moving onto cost of sales. Cost of sales for our solutions revenue was $8.9 million for the quarter, an increase of $178,000. Due to the higher gainshare contribution, second quarter gross margin increased approximately -- to approximately 60% compared to 58% last quarter. Non-GAAP gross margin was 63% for the quarter compared to 60% last quarter. As a reminder, GAAP includes stock-based compensation, amortization of acquired intangibles and restructuring expense of the San Jose headquarters facility once again.
Our total GAAP operating expenses were $8.2 million or approximately 36% of revenues -- of total revenues compared to $8.1 million or 39% of total revenues in the prior quarter.
R&D expenses totaled $3.3 million or 15% of total revenues for the quarter compared to $3.2 million in the prior quarter.
SG&A expenses totaled $4.7 million or 21% of revenues compared to 4.9% or 24% of revenues in the prior quarter -- excuse me, $4.9 million or 24% in the prior quarter.
Looking at total operating expenses and cost of sales together, on a non-GAAP spending basis, total spending for the quarter was $15.5 million versus $15.7 million in the prior quarter. This slight decrease in spending is the result of onetime savings recognized during the quarter of approximately $500,000 being partially offset by increased investments in personnel resources to support our growing solutions engagements.
Due to the effect of favorable foreign currency fluctuations, partially offset by a loss in auction rate securities, other income and expense was $155,000 of income compared to $142,000 of expense in the previous quarter.
The income tax provision increased quarter-by-quarter to approximately $639,000 to a total of $808,000 for the quarter. In general, as a reminder, our tax provision is primarily comprised of foreign withholding taxes on sales.
Total cash for the quarter was $50.2 million, an increase of $4.6 million over the prior quarter, primarily driven by cash generated from operations of $6.9 million, being partially offset by cash used in investing and financing activities.
During the quarter, the company repurchased 226.6 thousand common shares for approximately $2 million.
DSO for the quarter, including unbilled receivables, was 109 days compared to 123 days outstanding in the prior quarter. Of the total accounts receivable of $27 million, only 4.5% was more than 30 days past due at quarter end. Of those amounts, more than 30 days past due at the end of the quarter, only $280,000 remains outstanding as of today, the majority of which is related to delays due to Chinese currency controls.
DSO for billed accounts receivable, excluding unbilled, was 76 days compared to 91 days in the previous quarter.
Headcount at the end of Q2 was 335 total employees compared to 323 at the end of Q1. The majority of this increase in headcount was in our solutions organization.
In conclusion, the overall financial results for the quarter led by extremely strong gainshare revenues were very good. The company has continued to effectively manage its spending while at the same time increasing revenues and strengthening the balance sheet.
Going forward, the financial performance of the company will be strongly impacted by gain share revenues, which in turn are dependent upon a small number of foundry customers and their respective demands from their end customers.
This concludes the review of the financial results for the quarter. Now I will turn the call over to the operator for Q&A. Operator?